mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-16 13:41:07 +01:00
Move styling to tab description and reduce tab specific overrides
This commit is contained in:
parent
b6a8722a2d
commit
9c9c5b0c0c
3 changed files with 11 additions and 20 deletions
|
|
@ -4,10 +4,17 @@
|
||||||
.application.daggerheart {
|
.application.daggerheart {
|
||||||
prose-mirror {
|
prose-mirror {
|
||||||
height: 100% !important;
|
height: 100% !important;
|
||||||
|
flex: 1;
|
||||||
|
|
||||||
|
&.active + .artist-attribution {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.editor-menu {
|
.editor-menu {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
padding: 0 0 8px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-content {
|
.editor-content {
|
||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,10 @@
|
||||||
|
|
||||||
.daggerheart.dh-style {
|
.daggerheart.dh-style {
|
||||||
.tab.active.description {
|
.tab.active.description {
|
||||||
overflow-y: hidden !important;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
height: -webkit-fill-available !important;
|
height: -webkit-fill-available !important;
|
||||||
|
overflow-y: hidden !important;
|
||||||
fieldset {
|
padding: 10px 20px 0 20px;
|
||||||
height: -webkit-fill-available;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,19 +10,4 @@
|
||||||
font-family: @font-body;
|
font-family: @font-body;
|
||||||
color: light-dark(@chat-blue-bg, @beige-50);
|
color: light-dark(@chat-blue-bg, @beige-50);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab.description.active {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
padding: 0 20px;
|
|
||||||
.prosemirror {
|
|
||||||
flex: 1;
|
|
||||||
&.inactive .editor-content {
|
|
||||||
padding-top: 10px;
|
|
||||||
}
|
|
||||||
&.active + .artist-attribution {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue