diff --git a/packages/presentation/src/components/MessageBox.svelte b/packages/presentation/src/components/MessageBox.svelte index 78f20ff449..b2470cb000 100644 --- a/packages/presentation/src/components/MessageBox.svelte +++ b/packages/presentation/src/components/MessageBox.svelte @@ -93,6 +93,11 @@ user-select: none; box-shadow: var(--theme-popup-shadow); + @media screen and (max-width: 480px) { + width: 100%; + max-width: 100%; + } + .message { margin-bottom: 1.75rem; color: var(--theme-content-color); diff --git a/packages/theme/styles/_layouts.scss b/packages/theme/styles/_layouts.scss index 54f7d76568..afdc52456e 100644 --- a/packages/theme/styles/_layouts.scss +++ b/packages/theme/styles/_layouts.scss @@ -900,6 +900,7 @@ a.no-line { .leading-3 { line-height: .75rem; } .tracking--05px { letter-spacing: -.5px; } .tracking-1px { letter-spacing: 1px; } +.text-balance { text-wrap: balance; } .over-underline { cursor: pointer; diff --git a/packages/theme/styles/_lumia-colors.scss b/packages/theme/styles/_lumia-colors.scss index 77fc78e02e..a7a8d71b4f 100644 --- a/packages/theme/styles/_lumia-colors.scss +++ b/packages/theme/styles/_lumia-colors.scss @@ -31,6 +31,8 @@ --tag-on-accent-PorpoiseText: #FFFFFF; --tag-accent-SunshineBackground: #FFBD2E; + + --border-color-global-error-border-color: #fb6863; } /* Dark Theme */ diff --git a/packages/theme/styles/_text-editor.scss b/packages/theme/styles/_text-editor.scss index 2e006ee333..ae5b6235ad 100644 --- a/packages/theme/styles/_text-editor.scss +++ b/packages/theme/styles/_text-editor.scss @@ -444,4 +444,9 @@ &.delete { background: var(--text-editor-highlighted-node-delete-background-color); } -} \ No newline at end of file +} + +// Hiding the selection of an empty line +.select-text p > br.ProseMirror-trailingBreak::selection { + background: transparent; +} diff --git a/packages/theme/styles/_vars.scss b/packages/theme/styles/_vars.scss index 97df9737e3..7fb56b667d 100644 --- a/packages/theme/styles/_vars.scss +++ b/packages/theme/styles/_vars.scss @@ -33,6 +33,7 @@ --spacing-4: 2rem; --spacing-4_5: 2.25rem; --spacing-5: 2.5rem; + --spacing-5_5: 2.75rem; --spacing-6: 3rem; --spacing-6_5: 3.5rem; --spacing-7: 4rem; diff --git a/packages/theme/styles/components.scss b/packages/theme/styles/components.scss index 4d6339f176..4ea43b9f7f 100644 --- a/packages/theme/styles/components.scss +++ b/packages/theme/styles/components.scss @@ -543,6 +543,11 @@ .hulyModal-footer { padding: var(--spacing-1_5); } + @media screen and (max-width: 480px) { + width: 100vw; + height: var(--app-height); + min-width: 20rem; + } } &.type-aside, &.type-popup { diff --git a/packages/theme/styles/dialogs.scss b/packages/theme/styles/dialogs.scss index b4441ddc4b..15e9d3b89f 100644 --- a/packages/theme/styles/dialogs.scss +++ b/packages/theme/styles/dialogs.scss @@ -50,6 +50,7 @@ } &__title-wrap { + overflow-x: auto; display: flex; align-items: center; min-width: 0; @@ -277,6 +278,12 @@ max-width: 90vw; max-height: 90vh; + @media screen and (max-width: 480px) { + width: 100%; + max-width: 100%; + max-height: 100%; + } + .antiCard-header { padding: .75rem .75rem .375rem; diff --git a/packages/ui/src/components/ModernCheckbox.svelte b/packages/ui/src/components/ModernCheckbox.svelte new file mode 100644 index 0000000000..0f448f5ca1 --- /dev/null +++ b/packages/ui/src/components/ModernCheckbox.svelte @@ -0,0 +1,123 @@ + + +