Skip to content

Commit 01d3d31

Browse files
committed
Inline the banner at all times
1 parent 4cf08ee commit 01d3d31

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

app/lib/frontend/templates/layout.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ String renderLayoutPage(
6666
if (type == PageType.standalone) 'page-standalone',
6767
if (type == PageType.landing) 'page-landing',
6868
];
69-
final announcementBannerHtml = announcementBackend.getAnnouncementHtml();
69+
final announcementBannerHtml =
70+
announcementBackend.getAnnouncementHtml() ?? 'TEST BANNER';
7071
final session = requestContext.sessionData;
7172
final moderationSubject = () {
7273
if (pageData == null) {

pkg/web_css/lib/src/_base.scss

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -407,19 +407,6 @@ pre {
407407
}
408408

409409
z-index: 1000;
410-
411-
position: absolute;
412-
left: 0px;
413-
right: 0px;
414-
}
415-
416-
.page-standalone .announcement-banner {
417-
position: initial;
418-
419-
&.dismissed {
420-
display: block;
421-
visibility: hidden;
422-
}
423410
}
424411

425412
a.-x-ago {

0 commit comments

Comments
 (0)