diff --git a/changelog.d/roundup4.skip b/changelog.d/roundup4.skip new file mode 100644 index 000000000..e69de29bb diff --git a/src/App.scss b/src/App.scss index 78c20c0f9..6fa3a95b7 100644 --- a/src/App.scss +++ b/src/App.scss @@ -498,8 +498,6 @@ nav { box-sizing: content-box; color: inherit; - --shadow: none; - &.-link { /* stylelint-disable-next-line declaration-no-important */ color: var(--link) !important; @@ -1096,3 +1094,8 @@ option { } } } + +@property --shadow { + syntax: "*"; + inherits: false; +} diff --git a/src/components/checkbox/checkbox.vue b/src/components/checkbox/checkbox.vue index e447595f2..b6eab3ef7 100644 --- a/src/components/checkbox/checkbox.vue +++ b/src/components/checkbox/checkbox.vue @@ -85,6 +85,8 @@ export default { width: 1.2em; height: 1.2em; box-shadow: none; + + --_shadow: var(--shadow); } &-indicator::before { @@ -96,7 +98,7 @@ export default { width: 1.1em; height: 1.1em; border-radius: var(--roundness); - box-shadow: var(--shadow); + box-shadow: var(--_shadow); background-color: var(--background); vertical-align: top; text-align: center; diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 944c43153..f9eb1bdcd 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -363,6 +363,12 @@ const PostStatusForm = { } }, safeToSaveDraft () { + console.log('safe', ( + this.newStatus.status || + this.newStatus.spoilerText || + this.newStatus.files?.length || + this.newStatus.hasPoll + ) && this.saveable) return ( this.newStatus.status || this.newStatus.spoilerText || diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index e5eaa3af8..260a89cb7 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -334,22 +334,26 @@ class="dropdown-menu" role="menu" > - + + diff --git a/src/components/settings_modal/tabs/general_tab.vue b/src/components/settings_modal/tabs/general_tab.vue index 9d23630a9..c8db96c5e 100644 --- a/src/components/settings_modal/tabs/general_tab.vue +++ b/src/components/settings_modal/tabs/general_tab.vue @@ -269,14 +269,17 @@ {{ $t('settings.image_compression') }} -
  • - - {{ $t('settings.always_use_jpeg') }} - -
  • +
  • = 0) { combination.lazy = true } - if (extraCompileComponents.has(component.name)) { + + if ( + parent?.component !== 'Root' && + !virtualComponents.has(component.name) && + !transparentComponents.has(component.name) && + extraCompileComponents.has(component.name) + ) { combination.lazy = true }