From d82e2db1467d4521c8d8fc37c6d7243e9acb69f0 Mon Sep 17 00:00:00 2001 From: Maria Katrin Bonde <78419778+MariaBonde@users.noreply.github.com> Date: Tue, 3 Sep 2024 12:43:29 +0200 Subject: [PATCH] changed button and file size (#566) * changed button and file size changed file size and added descriptive information to button * removed lazy loading for the carousel, and changed size of carousel on pc --- src/hemsedal24/bilder.module.css | 13 ++++++------- src/hemsedal24/components/Files.tsx | 2 +- src/hemsedal24/upload.tsx | 3 +++ src/server/uploadthing.ts | 2 +- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/hemsedal24/bilder.module.css b/src/hemsedal24/bilder.module.css index bbbb37e29..cc0fc2f70 100644 --- a/src/hemsedal24/bilder.module.css +++ b/src/hemsedal24/bilder.module.css @@ -125,10 +125,6 @@ --tw-ring-color: transparent; } -.customButton > *[data-ut-element='allowed-content'] { - display: none; -} - .container { display: grid; grid-template-columns: repeat(4, 1fr); /* Four columns */ @@ -166,7 +162,7 @@ align-items: center; } .embla__slide { - flex: 0 0 60%; + flex: 0 0 40%; width: 100%; user-select: none; padding-left: 3rem; @@ -259,8 +255,7 @@ html { } .customButton > *[data-ut-element='button'] { - width: 19.5rem; - height: 3.375rem; + width: 50%; } .customButton > *[data-ut-element='button'][data-state='readying'], @@ -284,6 +279,10 @@ html { .lastoppbilder img { width: 120%; } + .tilbake, + .lastoppbilder { + width: 100%; + } @-moz-document url-prefix() { .uploadDropZone { diff --git a/src/hemsedal24/components/Files.tsx b/src/hemsedal24/components/Files.tsx index 0c4af8f91..68bcd920f 100644 --- a/src/hemsedal24/components/Files.tsx +++ b/src/hemsedal24/components/Files.tsx @@ -34,7 +34,7 @@ export default function Files({ data }: any) {