fix(#19): started making changes

It cost me everything
This commit is contained in:
Simon Pistache 2022-06-15 22:46:15 +02:00
parent 947d56a030
commit d4716bc763

View File

@ -1,25 +1,18 @@
@import "../../theme/variables"; @import "../../theme/variables";
@import "../../theme/mixins"; @import "../../theme/mixins";
.volunteers { .volunteers {
padding: 0; padding: 0;
list-style: none; list-style: none;
} }
$height: 24px; $height: 24px;
.volunteer { .volunteer {
height: $height; display: grid;
line-height: $height; grid-template-columns: minmax(min-content, 5fr) min-content min-content;
margin-bottom: 3px;
} }
.volunteerName { .volunteerName {
display: inline-block; grid-column: 1;
height: $height;
width: 230px;
padding-right: 4px;
text-align: right;
} }
.volunteerEmail { .volunteerEmail {
@ -44,11 +37,9 @@ $height: 24px;
text-align: center; text-align: center;
background-color: $color-red; background-color: $color-red;
color: transparent; color: transparent;
&.unknown { &.unknown {
background-color: $color-grey-medium; background-color: $color-grey-medium;
} }
&.available { &.available {
background-color: $color-green; background-color: $color-green;
} }