Skip to content

Commit

Permalink
Refactor layout styles: adjust width for mobile responsiveness and up…
Browse files Browse the repository at this point in the history
…date typography alignment for improved readability
  • Loading branch information
CarelessCourage committed Dec 17, 2024
1 parent 0e78ab5 commit ee66257
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 3 additions & 5 deletions apps/hub/app/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,13 @@ onKeyStroke('Escape', () => {
max-width: 1900px;
gap: var(--space-4);
transform: translateY(0px) translateX(0px);
width: 100dvw;
overflow: hidden;
min-height: 100vh;
padding-bottom: var(--space-5);
background-color: var(--base-20);
transition: var(--slow);
@media (max-width: 800px) {
width: 100dvw;
}
}
.layout .content-layer .vignet {
Expand Down
2 changes: 2 additions & 0 deletions packages/nobel/styles/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ button {
word-break: break-all;
white-space: pre-wrap;
text-transform: capitalize;
text-align: center;
}

h1.display,
Expand All @@ -54,6 +55,7 @@ h1.display,

h1,
.h1 {
text-align: left;
font-size: var(--h1-size);
line-height: var(--h1-size);
font-variation-settings: var(--font-bold);
Expand Down

0 comments on commit ee66257

Please sign in to comment.