Overhaul app responsiveness

We introduce more breakpoints to cover mobile, small-desktop,
medium-desktop and large-desktop viewports.
This commit is contained in:
Rūdolfs Ošiņš
2024-05-06 16:43:05 +02:00
parent 9404c3092a
commit 698a833e42
52 changed files with 966 additions and 671 deletions
+10 -2
View File
@@ -42,6 +42,14 @@
font-size: var(--font-size-small);
text-align: center;
}
.command {
max-width: 25rem;
}
@media (max-width: 719.98px) {
.command {
max-width: 20rem;
}
}
</style>
<div class="error">
@@ -54,13 +62,13 @@
{#if error}
<div class="help">
If you need help resolving this issue, copy the error message
<br />
<br class="global-hide-on-mobile-down" />
below and send it to us on
<ExternalLink href={config.supportWebsite}>
{config.supportWebsite}
</ExternalLink>
</div>
<div style:max-width="25rem">
<div class="command">
<Command
command={JSON.stringify(error, Object.getOwnPropertyNames(error))}
fullWidth