Added max-height and overflow

This commit is contained in:
WBHarry 2025-09-22 01:18:58 +02:00
parent 83709e334d
commit 5fc04909de
3 changed files with 8 additions and 1 deletions

View file

@ -35,7 +35,7 @@ export default class CountdownEdit extends HandlebarsApplicationMixin(Applicatio
static PARTS = {
countdowns: {
template: 'systems/daggerheart/templates/ui/countdown-edit.hbs',
scrollable: ['.expanded-view']
scrollable: ['.expanded-view', '.edit-content']
}
};

View file

@ -57,6 +57,11 @@
display: flex;
flex-direction: column;
gap: 8px;
overflow-y: auto;
overflow-x: hidden;
max-height: 500px;
scrollbar-width: thin;
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
.countdown-edit-container {
display: grid;

View file

@ -45,6 +45,8 @@
.window-content {
padding-top: 4px;
padding-bottom: 16px;
overflow: auto;
max-height: 312px;
.countdowns-container {
display: flex;