From c395c1d30716c65e8e7b6ec6a9e582bdd381b5d6 Mon Sep 17 00:00:00 2001 From: im-adithya Date: Wed, 1 Nov 2023 03:47:36 +0530 Subject: [PATCH] chore: consistent widths --- public/css/application.css | 24 +++++++------- views/apps/create.html | 64 ++++++++++++++++++++------------------ 2 files changed, 46 insertions(+), 42 deletions(-) diff --git a/public/css/application.css b/public/css/application.css index 63712e4d..2ef85e7b 100644 --- a/public/css/application.css +++ b/public/css/application.css @@ -1,5 +1,5 @@ /* -! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com +! tailwindcss v3.2.7 | MIT License | https://tailwindcss.com */ /* @@ -31,7 +31,6 @@ 3. Use a more readable tab size. 4. Use the user's configured `sans` font-family by default. 5. Use the user's configured `sans` font-feature-settings by default. -6. Use the user's configured `sans` font-variation-settings by default. */ html { @@ -48,8 +47,6 @@ html { /* 4 */ font-feature-settings: normal; /* 5 */ - font-variation-settings: normal; - /* 6 */ } /* @@ -602,9 +599,6 @@ select { --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; - --tw-gradient-from-position: ; - --tw-gradient-via-position: ; - --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; @@ -652,9 +646,6 @@ select { --tw-pan-y: ; --tw-pinch-zoom: ; --tw-scroll-snap-strictness: proximity; - --tw-gradient-from-position: ; - --tw-gradient-via-position: ; - --tw-gradient-to-position: ; --tw-ordinal: ; --tw-slashed-zero: ; --tw-numeric-figure: ; @@ -739,7 +730,10 @@ select { } .inset-0 { - inset: 0px; + top: 0px; + right: 0px; + bottom: 0px; + left: 0px; } .left-0 { @@ -894,6 +888,14 @@ select { max-width: 24rem; } +.max-w-3xl { + max-width: 48rem; +} + +.max-w-xs { + max-width: 20rem; +} + .table-fixed { table-layout: fixed; } diff --git a/views/apps/create.html b/views/apps/create.html index 9eb57fcf..115402b2 100644 --- a/views/apps/create.html +++ b/views/apps/create.html @@ -1,43 +1,45 @@ {{define "body"}}

Pair with app to finalize

-
Open, paste or scan your connection’s pairing secret in the desired app to finalise the connection.
+
Open, paste or scan your connection’s pairing secret in the desired app to finalise the connection.
- - - - - Open in supported app - - - {{if not (eq .PairingSecret "")}} - + Open in supported app + - - {{end}} + {{if not (eq .PairingSecret "")}} + + + + {{end}} +

⚠️ Connect only with apps you trust!