File tree Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Expand file tree Collapse file tree 2 files changed +30
-3
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ main {
102102 .main { grid-area : main; }
103103
104104 @include break-mobile-sm {
105- padding : 2 rem 1rem 0 ;
105+ padding : .5 rem 1rem 0 ;
106106
107107 #public-content ,
108108 .posts #public-content {
Original file line number Diff line number Diff line change 247247 <register-modal :show =" showRegister" @close =" showRegister = false" />
248248 </div >
249249 </header >
250- <div v-if =" motdData && motdData.motd_html.length && !hideAnnnouncement" id =" motd-spacer" ></div >
250+ <div v-if =" motdData && motdData.motd_html.length && !hideAnnnouncement" id =" motd-spacer-wrap" >
251+ <div id =" motd-spacer" v-html =" motdData?.motd_html" ></div >
252+ </div >
251253</template >
252254
253255<script >
@@ -1033,5 +1035,30 @@ header {
10331035 }
10341036}
10351037
1036- #motd- spacer { height: 1rem ; @include break - mobile- sm { height: 2rem ; } }
1038+ #motd- spacer- wrap {
1039+ @include clearfix ();
1040+ @include pad (0 $base- grid- padding);
1041+ margin- bottom: $breadcrumbs- bottom- margin;
1042+ max- height: 3 .2rem ;
1043+ overflow- y: auto;
1044+ width: 100 % ;
1045+ position: relative;
1046+ margin- top: - 1rem ;
1047+ opacity: 0 ;
1048+
1049+ @include break - mobile- sm {
1050+ font- size: $font- size- sm;
1051+ line- height: 1.2 ;
1052+ max- height: 3 .7rem ;
1053+ padding: 0 1rem ;
1054+ margin- top: 0 ;
1055+ }
1056+
1057+ #motd- spacer {
1058+ @include base- layout- width;
1059+ clear: both;
1060+ padding: 0 .5rem 0 ;
1061+ color: #666 ;
1062+ }
1063+ }
10371064< / style>
You can’t perform that action at this time.
0 commit comments