From e01ffc67c687f3f916466f6838d4eefc3f5aa86d Mon Sep 17 00:00:00 2001 From: taehoon Date: Wed, 15 May 2019 22:21:06 -0400 Subject: [PATCH] move visibility-tray css in local scope --- src/App.scss | 7 ------- src/components/post_status_form/post_status_form.vue | 9 +++++++++ src/components/user_settings/user_settings.vue | 4 ++++ 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/App.scss b/src/App.scss index 962087b5..4a3ce144 100644 --- a/src/App.scss +++ b/src/App.scss @@ -625,13 +625,6 @@ nav { text-align: right; } -.visibility-tray { - display: flex; - justify-content: space-between; - flex-direction: row-reverse; - padding-top: 5px; -} - .visibility-notice { padding: .5em; border: 1px solid $fallback--faint; diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index bdf15844..a841a17c 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -147,6 +147,15 @@ } } +.post-status-form { + .visibility-tray { + display: flex; + justify-content: space-between; + flex-direction: row-reverse; + padding-top: 5px; + } +} + .post-status-form, .login { .form-bottom { display: flex; diff --git a/src/components/user_settings/user_settings.vue b/src/components/user_settings/user_settings.vue index 8a94f0b8..2cb8b37a 100644 --- a/src/components/user_settings/user_settings.vue +++ b/src/components/user_settings/user_settings.vue @@ -251,6 +251,10 @@ margin: 0; } + .visibility-tray { + padding-top: 5px; + } + input[type=file] { padding: 5px; height: auto;