Skip to content

Commit bee161e

Browse files
committed
fix: spacing when motd isnt present
1 parent 7b934f2 commit bee161e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/layout/Header.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@
250250
<div v-if="motdData && motdData.motd_html.length && !hideAnnnouncement" id="motd-spacer-wrap">
251251
<div id="motd-spacer" v-html="motdData?.motd_html"></div>
252252
</div>
253+
<div v-if="!motdData || !motdData.motd_html.length || hideAnnnouncement" id="header-spacer"></div>
253254
</template>
254255

255256
<script>
@@ -1088,4 +1089,8 @@ header {
10881089
color: #666;
10891090
}
10901091
}
1092+
1093+
@include break-mobile-sm {
1094+
#header-spacer { margin-bottom: 1.5rem; }
1095+
}
10911096
</style>

0 commit comments

Comments
 (0)