From 18e0828ee7bf4d90267db62bc079e1d8b3cf45ee Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 21 Nov 2018 21:40:45 +0300 Subject: last shadow override i wanted to make for now. also small tweak --- src/components/post_status_form/post_status_form.vue | 2 ++ src/components/style_switcher/style_switcher.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/components') diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 751b048a..1c79cab3 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -258,6 +258,8 @@ position: absolute; z-index: 1; box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5); + // this doesn't match original but i don't care, making it uniform. + box-shadow: var(--popupShadow); min-width: 75%; background: $fallback--bg; background: var(--bg, $fallback--bg); diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js index d0f72427..c39aa95b 100644 --- a/src/components/style_switcher/style_switcher.js +++ b/src/components/style_switcher/style_switcher.js @@ -259,7 +259,7 @@ export default { return [...Object.values(this.preview.rules), 'color: var(--text)'].join(';') }, shadowsAvailable () { - return Object.keys(this.previewTheme.shadows) + return Object.keys(this.previewTheme.shadows).sort() }, currentShadowOverriden: { get () { -- cgit v1.2.3-70-g09d2