[Fix] RCT Countdown Positioning (#1306)

* Fixed so that the countdown Ui positions itself well when RCT video is enabled

* Removed hooks and just placing the Ui Countdowns in the UI-Right-column-1 placement
This commit is contained in:
WBHarry 2025-11-20 11:10:58 +01:00 committed by GitHub
parent 844c683c7d
commit 0233979a9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 34 deletions

View file

@ -12,26 +12,18 @@
}
.daggerheart.dh-style.countdowns {
z-index: var(--z-index-ui) !important;
position: initial;
border: 0;
border-radius: 4px;
box-shadow: none;
width: 300px;
top: 16px;
right: calc(64px * var(--ui-scale));
transition:
right ease 250ms,
opacity var(--ui-fade-duration) ease,
opacity var(--ui-fade-duration);
pointer-events: all;
align-self: flex-end;
.window-title {
font-family: @font-body;
}
&.expanded {
right: calc(364px * var(--ui-scale));
}
&.icon-only {
width: 180px;
min-width: 180px;