Table and alert fixes

This commit is contained in:
ポール ウェッブ 2018-05-25 11:22:24 -05:00
parent 06bc4658c6
commit aafc8dd9b5
2 changed files with 9 additions and 2 deletions

View file

@ -74,7 +74,7 @@ h1, h2, h3, h4, h5 {
} }
.alert { .alert {
top: 4rem; left: 0; bottom: 0; left: 0;
background-color: $yellow; background-color: $yellow;
line-height: 1.33; line-height: 1.33;
@ -82,9 +82,10 @@ h1, h2, h3, h4, h5 {
padding-right: env(safe-area-inset-right); padding-right: env(safe-area-inset-right);
padding-bottom: 1rem; padding-bottom: 1rem;
padding-left: env(safe-area-inset-left); padding-left: env(safe-area-inset-left);
position: absolute; position: fixed;
text-align: center; text-align: center;
width: 100%; width: 100%;
z-index: 1;
> div:first-of-type { > div:first-of-type {
position: relative; position: relative;

View file

@ -272,6 +272,12 @@
z-index: 1; z-index: 1;
} }
&:not(*:root) {
&::after {
z-index: -1;
}
}
&::after { &::after {
width: calc(100% + 2px); height: calc(100% + 2px); width: calc(100% + 2px); height: calc(100% + 2px);
top: -1px; left: -1px; top: -1px; left: -1px;