This commit is contained in:
46
BimAI.UI.Mobile/wwwroot/css/app.css
Normal file
46
BimAI.UI.Mobile/wwwroot/css/app.css
Normal file
@@ -0,0 +1,46 @@
|
||||
#blazor-error-ui {
|
||||
background: lightyellow;
|
||||
bottom: 0;
|
||||
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
|
||||
display: none;
|
||||
left: 0;
|
||||
padding: 0.6rem 1.25rem 0.7rem 1.25rem;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
#blazor-error-ui .dismiss {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
right: 0.75rem;
|
||||
top: 0.5rem;
|
||||
}
|
||||
|
||||
/* iOS Safe Area Support */
|
||||
@supports (padding-top: env(safe-area-inset-top)) {
|
||||
.mud-appbar {
|
||||
padding-top: env(safe-area-inset-top) !important;
|
||||
height: calc(64px + env(safe-area-inset-top)) !important;
|
||||
}
|
||||
|
||||
.mud-drawer {
|
||||
padding-top: env(safe-area-inset-top);
|
||||
}
|
||||
|
||||
.mud-main-content {
|
||||
padding-top: calc(64px + env(safe-area-inset-top)) !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Fallback for older devices */
|
||||
@media only screen and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3) {
|
||||
.mud-appbar {
|
||||
padding-top: 44px !important;
|
||||
height: calc(64px + 44px) !important;
|
||||
}
|
||||
|
||||
.mud-main-content {
|
||||
padding-top: calc(64px + 44px) !important;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user