Skip to content

Commit d885989

Browse files
committed
feat: finish porting and correcting css for header
1 parent cea07ed commit d885989

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/layout/Header.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@
245245
<register-modal :show="showRegister" @close="showRegister = false" />
246246
</div>
247247
</header>
248+
<div v-if="motdData && motdData.motd_html.length && !hideAnnnouncement" id="motd-spacer"></div>
248249
</template>
249250

250251
<script>
@@ -1003,8 +1004,10 @@ header {
10031004
border-bottom: 1px solid $breadcrumbs-border-color;
10041005
margin-bottom: $breadcrumbs-bottom-margin;
10051006
max-height: 3.2rem;
1006-
overflow-y: scroll;
1007+
overflow-y: auto;
10071008
width: 100%;
1009+
position: relative;
1010+
top: -1px;
10081011
10091012
@include break-mobile-sm {
10101013
font-size: $font-size-sm;
@@ -1022,4 +1025,5 @@ header {
10221025
}
10231026
}
10241027
1028+
#motd-spacer { height: 1rem; }
10251029
</style>

0 commit comments

Comments
 (0)