Skip to content

Commit

Permalink
Give item preview full height space
Browse files Browse the repository at this point in the history
Using flexbox to let the item preview take all window height, event when with small components. This allows overflowing elements, such as dropdown, to be visible.
  • Loading branch information
alinekeller committed Apr 30, 2024
1 parent d8a1207 commit a2307c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reader/views/Single/Single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
}

.tlbx-single-full {
display: flex;
flex-direction: column;
min-height: 100vh;

.tlbx-item-preview {
flex-grow: 1;
border: 0;
}

Expand Down

0 comments on commit a2307c4

Please sign in to comment.