mirror of
https://github.com/KevinMidboe/infra-map.git
synced 2026-01-09 18:55:50 +00:00
Compare commits
2 Commits
0991d1a013
...
14079b25b7
| Author | SHA1 | Date | |
|---|---|---|---|
| 14079b25b7 | |||
| 5bc57ba497 |
@@ -84,7 +84,7 @@
|
|||||||
{:else}
|
{:else}
|
||||||
<div class="fullscreen-container">
|
<div class="fullscreen-container">
|
||||||
<Dialog title="Live stream of printer" close={() => (fullscreen = false)}>
|
<Dialog title="Live stream of printer" close={() => (fullscreen = false)}>
|
||||||
<img style="width: 100%;" src={String(imageSource)} id="live-image" />
|
<img src={String(imageSource)} id="live-image" />
|
||||||
<span>Last update {timestamp}s ago</span>
|
<span>Last update {timestamp}s ago</span>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
|
|
||||||
@@ -105,7 +105,11 @@
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.fullscreen-container .dialog > div) {
|
:global(.fullscreen-container .dialog img) {
|
||||||
max-width: unset;
|
max-width: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:global(.fullscreen-container #dialog-title) {
|
||||||
|
max-width: 98vw;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -173,6 +173,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:global(body.dark .nav-wrapper.open) {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
background-color: var(--bg);
|
||||||
|
|
||||||
|
nav a {
|
||||||
|
&:hover,
|
||||||
|
&.highlight {
|
||||||
|
color: white !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
Reference in New Issue
Block a user