Skip to content

Commit

Permalink
jwt-decoder: Fix layout on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Jul 7, 2024
1 parent 3705238 commit 6f1bcf6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/lib/components/two-column-view.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
.inner-wrapper {
flex-grow: 1;
position: relative;
display: flex;
}
@media (min-width: 920px) {
Expand Down
13 changes: 9 additions & 4 deletions src/routes/jwt-decoder/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -88,21 +88,26 @@
flex-grow: 1;
display: flex;
flex-direction: column;
height: 100%;
}
textarea {
flex-grow: 1;
border: 0;
}
.codemirror-outer-wrapper {
position: relative;
flex-grow: 1;
height: 100%;
}
.codemirror-outer-wrapper.header {
min-height: 9em;
}
@media (min-width: 920px) {
div[slot="right"] {
height: 100%;
}
}
</style>

0 comments on commit 6f1bcf6

Please sign in to comment.