fixed some css & prosemirror

This commit is contained in:
Vlyan
2025-08-22 12:47:39 +02:00
parent 30e8da25a2
commit 8b77966287
19 changed files with 55 additions and 52 deletions

View File

@@ -232,7 +232,7 @@
&.others {
flex-direction: column;
.editor-content {
.editor-container {
min-height: 8rem;
max-height: 14rem;
}

View File

@@ -1,10 +1,10 @@
.application {
color: var(--color-text-dark-primary);
.scrollable {
--scroll-margin: 0;
}
.window-header {
background: linear-gradient(
$l5r5e-linear-gradient-second,
@@ -22,7 +22,7 @@
}
}
// More specifified stuff down here as to not make it too hard to read the overriden defaults
// More specified stuff down here as to not make it too hard to read the overridden defaults
.application {
.window-content {
table {

View File

@@ -19,7 +19,6 @@ body {
.window-content {
z-index: 1;
position: relative;
background: rgb(255, 250, 230) url("../assets/imgs/bg-l5r.webp") no-repeat;
background-size: cover;
scrollbar-width: thin;
padding: 0;
@@ -193,7 +192,7 @@ fieldset {
// Editors
.editor,
.editor-content {
.editor-container {
flex: 1;
height: 100%;
}
@@ -232,7 +231,7 @@ sup {
}
}
.editor-content,
.editor-container,
.item-description {
ul {
margin: 0.5rem 0;

View File

@@ -11,7 +11,7 @@
flex: 0 0 32px;
padding-right: 0.25rem;
img {
border: 1px solid rgba(0, 0, 0, 0.1);
border: none;
}
}
.item-name {
@@ -19,6 +19,7 @@
font-size: 1rem;
line-height: 1rem;
color: $l5r5e-bold;
align-content: center;
}
.removed {
text-decoration-line: line-through;
@@ -454,7 +455,7 @@
.flx100 {
flex: 0 0 calc(100% - 0.5rem);
}
.editor-content {
.editor-container {
min-height: 8rem;
max-height: 14rem;
}

View File

@@ -37,6 +37,7 @@ textarea {
color: $l5r5e-black;
resize: vertical;
border-radius: 0;
box-shadow: none;
&[disabled] {
background: $l5r5e-white-light;
}

View File

@@ -520,17 +520,6 @@
}
.attribute-label {
position: relative;
&:before {
z-index: -1;
content: "";
position: absolute;
height: calc(100% - 0.85rem);
width: 3.1rem;
border: 1px solid $l5r5e-title;
border-radius: 0;
top: 0.15rem;
left: 0.15rem;
}
}
.identity-content {
.attribute-label {
@@ -629,19 +618,19 @@
}
}
.narrative-fluff {
flex: 1;
flex: 0 0 50%;
display: flex;
flex-direction: column;
.narrative-description {
max-height: 13rem;
font-size: 0.85rem;
flex: 1;
}
.narrative-description,
.narrative-note {
flex: 1;
font-size: 0.85rem;
}
.editor-content {
min-height: 10rem;
max-height: 24rem;
.editor-container {
min-height: 18rem;
}
}
}
.techniques-wrapper {
@@ -765,10 +754,12 @@
}
table {
border: none;
font-size: 0.85rem;
color: $black-light;
text-align: left;
thead {
border: none;
font-family: $font-secondary;
font-weight: normal;
th {
@@ -790,6 +781,7 @@
}
}
tbody {
border: none;
.curriculum {
flex: 0 0 2rem;
}
@@ -827,8 +819,13 @@
width: 16px;
height: 16px;
border: none;
display: inline;
}
}
tfoot {
border: none;
text-align-last: center;
}
}
.inventory {

View File

@@ -420,7 +420,6 @@ button {
min-width: 240px;
.window-content {
//background: rgb(255, 250, 230) url("../assets/imgs/bg-l5r.webp") no-repeat;
[data-application-part="hidden_tabs"] {
display: none;
}