A platform for community discussion. Free, open, simple.
UX: margin improvement for mobile alerts
awesomerobot895df9c239db
diff --git a/app/assets/stylesheets/common/components/banner.scss b/app/assets/stylesheets/common/components/banner.scssindex 6e526adf5e5..22ec02c63d4 100644--- a/app/assets/stylesheets/common/components/banner.scss+++ b/app/assets/stylesheets/common/components/banner.scss@@ -7,6 +7,7 @@background: var(--tertiary-low);color: var(--primary);z-index: z("base") + 1;+ margin-bottom: 1em;overflow: auto;&.overlay {diff --git a/app/assets/stylesheets/desktop/banner.scss b/app/assets/stylesheets/desktop/banner.scssindex ecfcff7d372..933d266a2be 100644--- a/app/assets/stylesheets/desktop/banner.scss+++ b/app/assets/stylesheets/desktop/banner.scss@@ -3,7 +3,6 @@// --------------------------------------------------#banner {- margin-bottom: 1em;max-width: 1090px;max-height: 250px;}diff --git a/app/assets/stylesheets/mobile/alert.scss b/app/assets/stylesheets/mobile/alert.scssindex ac30706214a..90d48b7deb7 100644--- a/app/assets/stylesheets/mobile/alert.scss+++ b/app/assets/stylesheets/mobile/alert.scss@@ -1,7 +1,7 @@.alert.alert-info {&.clickable {// there are (n) new or updated topics, click to show- margin-top: 0;+ margin: 0;padding: 1em;}}