Remove some deprecated CSS props and change form items to align-items: flex-start

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2022-11-24 09:54:14 +01:00
parent ba7067492e
commit 2dd53321d9
3 changed files with 7 additions and 10 deletions
+3 -4
View File
@@ -127,16 +127,15 @@
.fields {
display: grid;
grid-template-columns: 6rem auto;
grid-gap: 1rem 1.5rem;
gap: 1rem 1.5rem;
}
.fields > div {
justify-self: start;
align-self: center;
place-self: center start;
}
.field {
display: flex;
align-items: center;
align-items: flex-start;
width: 28rem;
height: 2.5rem;
border: 1px dashed transparent;
+2 -3
View File
@@ -77,12 +77,11 @@
.fields {
display: grid;
grid-template-columns: 5rem 4fr 2fr;
grid-gap: 1rem 2rem;
gap: 1rem 2rem;
margin-bottom: 1rem;
}
.fields > div {
justify-self: start;
align-self: center;
place-self: center start;
height: 2rem;
line-height: 2rem;
}
+2 -3
View File
@@ -65,12 +65,11 @@
.fields {
display: grid;
grid-template-columns: 5rem 4fr 2fr;
grid-gap: 1rem 2rem;
gap: 1rem 2rem;
margin-bottom: 2rem;
}
.fields > div {
justify-self: start;
align-self: center;
place-self: center start;
height: 2rem;
line-height: 2rem;
}