Skip to content

Commit

Permalink
adding formatting for 200% magnification on standard screen
Browse files Browse the repository at this point in the history
  • Loading branch information
AAloshine-scottlogic committed Feb 13, 2024
1 parent a63c0ac commit 6eaa1ac
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 2 deletions.
14 changes: 13 additions & 1 deletion frontend/src/components/ChatBox/ChatBox.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
width: 100%;
padding: 0.5rem 2rem 1.5rem;
padding: 2rem;
font-size: 0.75rem;
}

.chat-box .footer label {
Expand Down Expand Up @@ -67,3 +66,16 @@
.chat-box .footer .control-buttons > :focus-visible {
outline-offset: 0.1rem;
}

@media only screen and (min-resolution: 150dpi) {
.chat-box .footer {
padding: 1rem;
gap: 0.5rem;
}
.chat-box .footer .control-buttons {
gap: 0.5rem;
}
.chat-box .footer .messages textarea {
padding: 0.5rem;
}
}
1 change: 0 additions & 1 deletion frontend/src/components/ChatBox/ChatBoxFeed.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
gap: 0.75rem;
justify-content: stretch;
overflow-y: auto;
height: fit-content;
padding: 0.5rem 2rem;
scrollbar-width: thin;
}
15 changes: 15 additions & 0 deletions frontend/src/components/MainComponent/MainFooter.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,18 @@
display: inline-block;
padding: 0 0.75rem;
}

@media only screen and (min-resolution: 150dpi) {
.main-footer {
height: 2rem;
}
.main-footer a svg {
height: 1.75rem;
}

.main-footer a svg,
.main-footer .links,
.main-footer .links a:not(:last-child)::after {
padding: 0 0.5rem;
}
}
41 changes: 41 additions & 0 deletions frontend/src/components/MainComponent/MainHeader.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,44 @@
width: 100%;
height: 100%;
}

@media only screen and (min-resolution: 150dpi) {
.main-header-left > .title-logo {
height: 80%;
}
.main-header {
height: 3.5rem;
padding: 0 0.5rem;
gap: 0.5rem;
}
.main-header .main-header-middle {
gap: 0.5rem;
}
.main-header .main-header-middle .main-header-level {
font-size: 1.5rem;
}
.main-header .themed-button.level-button {
height: 2.5rem;
padding: 0.5rem;
}
.main-header .main-header-right {
gap: 0.5rem;
}
button.level-mission-info-banner {
padding: 0 0.5rem;
border-width: 0.5rem 0.25rem;
}
span.level-title-area {
font-size: 1.25rem;
white-space: nowrap;
min-width: unset;
}
.main-header .header-button {
padding: 0.5rem;
white-space: normal;
}

.themed-button > img {
display: none;
}
}

0 comments on commit 6eaa1ac

Please sign in to comment.