Skip to content

Commit 8dd5bda

Browse files
committed
banner should use 100% width and push down content down
1 parent e3b6f6f commit 8dd5bda

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

ui/src/components/header/AnnouncementBanner.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,9 @@ export default {
122122
.announcement-banner-container {
123123
z-index: 1000;
124124
top: 0;
125-
position: fixed;
125+
position: relative;
126126
margin: 0;
127127
width: 100%;
128-
display: flex;
129128
justify-content: center;
130129
align-items: center;
131130
}

ui/src/components/page/GlobalLayout.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,4 +334,8 @@ export default {
334334
position: absolute;
335335
}
336336
337+
.layout.ant-layout .sidemenu .ant-header-fixedHeader {
338+
top: auto !important
339+
}
340+
337341
</style>

0 commit comments

Comments
 (0)