Skip to content

Commit

Permalink
Comply with stylelint rules
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Griffiths <[email protected]>
  • Loading branch information
Dan Griffiths committed Jan 7, 2025
1 parent 1c58658 commit 3e17eb1
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions src/components/DispatchTable/DispatchTable.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@

.cmdrNameCol {
display: flex;

align-items: flex-start;

.cmdrName {
Expand All @@ -86,29 +87,11 @@
.platformBadge {
order: 1;

color: $white;

text-align: center;

width: 100%;

> .platformBadgeIcon {
background-color: $black-lightened;

display: inline-block;

width: 27px;

> svg {
height: 12px;
}
}

> .platformBadgeLabel {
display: inline-block;
color: $white;

width: calc( 100% - 27px );
}
text-align: center;

&.horizons3 > .platformBadgeLabel {
background-color: $magenta-dark3;
Expand All @@ -129,6 +112,24 @@
&.xb > .platformBadgeLabel {
background-color: $playstation-blue-light3;
}

> .platformBadgeIcon {
display: inline-block;

width: 27px;

background-color: $black-lightened;

> svg {
height: 12px;
}
}

> .platformBadgeLabel {
display: inline-block;

width: calc(100% - 27px);
}
}
}

Expand Down

0 comments on commit 3e17eb1

Please sign in to comment.