Skip to content

Commit

Permalink
Use overflow:visible for components with dropdown rather than flexbox
Browse files Browse the repository at this point in the history
  • Loading branch information
alinekeller committed May 17, 2024
1 parent a2307c4 commit c83debb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 4 additions & 2 deletions reader/reader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@
overflow: hidden;
}

/* Dropdown needs `overflow: visible` to allow it to
/* Dropdown and multi select needs `overflow: visible` to allow it to
escape its container. */
.tlbx-item-preview.tlbx-component-dropdown {
.tlbx-item-preview.tlbx-element-dropdown,
.tlbx-item-preview.tlbx-element-select-multiple,
.tlbx-item-preview.tlbx-element-breadcrumb-dropdown {
overflow: visible;
}

Expand Down
3 changes: 0 additions & 3 deletions reader/views/Single/Single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@
}

.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 c83debb

Please sign in to comment.