mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: banner on mobile
This commit is contained in:
@@ -3,12 +3,10 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
#banner {
|
#banner {
|
||||||
margin-bottom: 10px;
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background: scale-color($tertiary, $lightness: 90%);
|
background: scale-color($tertiary, $lightness: 90%);
|
||||||
@include box-shadow(0 1px 2px scale-color($tertiary, $lightness: 70%));
|
@include box-shadow(0 1px 2px scale-color($tertiary, $lightness: 70%));
|
||||||
max-width: 1090px;
|
|
||||||
z-index: 501;
|
z-index: 501;
|
||||||
|
|
||||||
&.overlay {
|
&.overlay {
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
/* @import "desktop/*"; TODO: get this working again */
|
/* @import "desktop/*"; TODO: get this working again */
|
||||||
|
|
||||||
@import "desktop/alert";
|
@import "desktop/alert";
|
||||||
|
@import "desktop/banner";
|
||||||
@import "desktop/compose";
|
@import "desktop/compose";
|
||||||
@import "desktop/discourse";
|
@import "desktop/discourse";
|
||||||
@import "desktop/header";
|
@import "desktop/header";
|
||||||
|
|||||||
8
app/assets/stylesheets/desktop/banner.scss
Normal file
8
app/assets/stylesheets/desktop/banner.scss
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
// --------------------------------------------------
|
||||||
|
// Banner
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
#banner {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
width: 1090px;
|
||||||
|
}
|
||||||
@@ -3,6 +3,7 @@
|
|||||||
/* @import "mobile/*"; TODO: get this working again */
|
/* @import "mobile/*"; TODO: get this working again */
|
||||||
|
|
||||||
@import "mobile/alert";
|
@import "mobile/alert";
|
||||||
|
@import "mobile/banner";
|
||||||
@import "mobile/compose";
|
@import "mobile/compose";
|
||||||
@import "mobile/discourse";
|
@import "mobile/discourse";
|
||||||
@import "mobile/faqs";
|
@import "mobile/faqs";
|
||||||
|
|||||||
7
app/assets/stylesheets/mobile/banner.scss
Normal file
7
app/assets/stylesheets/mobile/banner.scss
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
// --------------------------------------------------
|
||||||
|
// Banner
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
#banner {
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user