Skip to content

Commit

Permalink
fix: Set fixed height for card modal (fix #4296)
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Nov 13, 2023
1 parent 8eb2f48 commit 587b44f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,10 @@ export default {
width: 100%;
}

.modal__card {
height: 100vh;
max-height: calc(100vh - 120px);
overflow: auto;
}

</style>
2 changes: 1 addition & 1 deletion src/components/card/CardSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ section.app-sidebar__tab--active {
right: 0;
max-width: calc(100% - #{$modal-padding * 2});
padding: 0 14px;
max-height: 100%;
height: auto;
overflow: initial;
user-select: text;
-webkit-user-select: text;
Expand Down

0 comments on commit 587b44f

Please sign in to comment.