Skip to content

Commit 1f5fd86

Browse files
committedMar 11, 2025
docs(site): sticky alert
1 parent c42cfa4 commit 1f5fd86

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎docs/style.css

+4
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@
105105
}
106106

107107
.alert {
108+
background-color: light-dark(var(--light-canvas), var(--dark-canvas));
109+
position: sticky;
110+
top: env(safe-area-inset-top, 0);
111+
z-index: 1;
108112
display: flex;
109113
flex-direction: column;
110114
align-items: center;

0 commit comments

Comments
 (0)