mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19:54 +02:00
[UI] Make sheet tab scrollsbars stable, remove fieldsets, and adjust padding (#1944)
Some checks failed
Project CI / build (24.x) (push) Has been cancelled
Some checks failed
Project CI / build (24.x) (push) Has been cancelled
* Remove certain fieldsets and adjust scrollsbars * Also remove fieldset for npc features and fix padding issue in full screen notes
This commit is contained in:
parent
1dcfc92a03
commit
eccab6ad64
30 changed files with 298 additions and 302 deletions
|
|
@ -39,6 +39,20 @@
|
|||
|
||||
.window-header > .attribution-header-label {
|
||||
margin-right: var(--spacer-4);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.tab-navigation {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.tab {
|
||||
flex: 1;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
.search-section {
|
||||
padding: 12px 14px var(--spacer-8) 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.tab.inventory {
|
||||
|
|
@ -46,7 +60,7 @@
|
|||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
gap: 10px;
|
||||
padding: 10px 10px 0;
|
||||
padding: var(--spacer-8) 16px var(--spacer-8) 16px;
|
||||
|
||||
.input {
|
||||
color: light-dark(@dark, @beige);
|
||||
|
|
@ -57,7 +71,6 @@
|
|||
.tab.notes.active {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
margin-top: -10px; // will be removed once tab-navigation bottom margin is removed on all actor sheets
|
||||
scrollbar-gutter: unset;
|
||||
|
||||
// Add padding around top level level prosemirrors used for note tabs
|
||||
|
|
@ -66,6 +79,7 @@
|
|||
.editor-content {
|
||||
scrollbar-gutter: stable;
|
||||
padding-right: @right-padding;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
&.inactive {
|
||||
button.toggle {
|
||||
|
|
@ -76,7 +90,7 @@
|
|||
}
|
||||
}
|
||||
&.active {
|
||||
padding: 8px 0 4px 16px;
|
||||
padding: 8px 0 0 16px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue