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

File diff suppressed because one or more lines are too long

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 {

View File

@@ -14,9 +14,10 @@
flex: 1 1 100%;
min-height: 2rem;
width: 100%;
margin: 0;
}
.header-fields {
padding: 0 0.25rem;
padding: 0;
}
.identity-wrapper {
flex: 1 1 100%;
@@ -26,8 +27,7 @@
.identity-list {
flex: 0 0 100%;
display: flex;
margin: 0.25rem;
margin-bottom: 0.5rem;
margin: 0.25rem 0 0.5rem;
li {
flex: 1;
flex-wrap: wrap;
@@ -89,7 +89,9 @@
}
}
.sheet-body {
padding: 0.25rem;
padding: 0;
padding-bottom: 0.25rem;
margin-bottom: 0.5rem;
}
.npc-skill {
display: flex;
@@ -137,9 +139,12 @@
}
min-height: auto;
display: flex;
fieldset {
flex: 0 0 calc(100% - 0.5rem);
}
.items-content {
flex: 0 0 calc(100% - 0.5rem);
margin: 0.5rem 0.25rem 0;
margin: 1rem 0.25rem 0;
}
}
}