Ajustement css marging/padding and float

This commit is contained in:
Mandar
2021-01-07 20:38:38 +01:00
parent b6549b7230
commit f6b65308c5
4 changed files with 34 additions and 28 deletions

View File

@@ -112,7 +112,7 @@
}
.sheet-body {
flex: 100%;
height: calc(100% - 90px);
height: calc(100% - 90px - 0.25rem);
align-self: stretch;
display: flex;
flex-wrap: wrap;
@@ -153,9 +153,10 @@
text-transform: capitalize;
}
.type {
flex: 100%;
display: block;
label {
width: 50%;
width: calc(50% - 0.5rem);
float: left;
}
}
.properties {
@@ -200,8 +201,10 @@
align-self: stretch;
height: calc(100% - 7.5rem);
width: 100%;
padding-bottom: 1.25rem;
.reference {
flex: 0 0 calc(100% - 0.5rem);
margin: 0.5rem 0.25rem;
input[name="data.book_reference"] {
float: right;
width: 70%;
@@ -210,6 +213,7 @@
fieldset {
align-self: stretch;
height: calc(100% - 2rem);
box-sizing: content-box;
}
}
&.properties {
@@ -284,11 +288,10 @@
}
}
&.property {
&.infos {
height: 100%;
}
article {
min-height: calc(100% - 5rem);
&.infos {
height: calc(100% - 0.5rem);
}
}
}
&.armor {