From 16e78847a2db18d7f4689b1ad7e7ea8bdceed881 Mon Sep 17 00:00:00 2001 From: AaronDewes Date: Tue, 9 Aug 2022 09:00:43 +0000 Subject: [PATCH] Fix style problems --- app/main.css | 6 ++---- app/ui/account.js | 2 +- app/ui/archiveTile.js | 14 +++++++------- app/ui/copyDialog.js | 2 +- app/ui/noStreams.js | 4 ++-- app/ui/selectbox.js | 2 +- app/ui/shareDialog.js | 2 +- app/ui/signupDialog.js | 2 +- app/ui/unsupported.js | 2 +- 9 files changed, 17 insertions(+), 19 deletions(-) diff --git a/app/main.css b/app/main.css index 4082c67a..e4f5e919 100644 --- a/app/main.css +++ b/app/main.css @@ -71,8 +71,7 @@ body { .checkbox > label::before { /* @apply bg-grey-10; */ - border-width: 1px; - + @apply border-default; @apply rounded-sm; content: ''; @@ -314,8 +313,7 @@ select { @screen md { .main > section { - border-width: 1px; - + @apply border-default; @apply border-grey-80; } } diff --git a/app/ui/account.js b/app/ui/account.js index 3ceaf536..9845a3a1 100644 --- a/app/ui/account.js +++ b/app/ui/account.js @@ -83,7 +83,7 @@ class Account extends Component { diff --git a/app/ui/archiveTile.js b/app/ui/archiveTile.js index 505b7f15..eee78a40 100644 --- a/app/ui/archiveTile.js +++ b/app/ui/archiveTile.js @@ -53,7 +53,7 @@ function password(state) { id="password-input" class="${state.archive.password ? '' - : 'invisible'} border rounded focus:border-primary leading-normal my-1 py-1 px-2 h-8 dark:bg-grey-80" + : 'invisible'} border-default rounded-default focus:border-primary leading-normal my-1 py-1 px-2 h-8 dark:bg-grey-80" autocomplete="off" maxlength="${MAX_LENGTH}" type="password" @@ -261,7 +261,7 @@ module.exports = function(state, emit, archive) { return html` ${archiveInfo( archive, @@ -335,7 +335,7 @@ module.exports.wip = function(state, emit) { fileInfo(f, remove(f, state.translate('deleteButtonHover'))) ), 'flex-shrink bg-grey-10 rounded-t overflow-y-auto px-6 py-4 md:h-full md:max-h-half-screen dark:bg-black', - 'bg-white px-2 my-2 shadow-light rounded dark:bg-grey-90 dark:border dark:border-grey-80' + 'bg-white px-2 my-2 shadow-light rounded-default dark:bg-grey-90 dark:border-default dark:border-grey-80' )}
${archiveInfo(archive)}
@@ -488,7 +488,7 @@ module.exports.empty = function(state, emit) { `; return html` -
+
${archiveInfo(archive)} ${details}