Skip to content

Commit

Permalink
A few bits of tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
feedmypixel committed Jan 25, 2025
1 parent 44a0dc9 commit 845c27f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
17 changes: 1 addition & 16 deletions src/server/common/components/entity-table/_entity-table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $min-width: 200px;
}

@include govuk-media-query($until: desktop-wide) {
// Hide head
// Hide header, we place headings on individual cells on small screens
.app-entity-table__head {
border: none;
clip: rect(0 0 0 0);
Expand Down Expand Up @@ -50,10 +50,7 @@ $min-width: 200px;
.app-entity-table__cell {
border-bottom: 1px solid $app-grey;
display: inline-block;
text-align: left;
padding: govuk-spacing(2) govuk-spacing(1);
vertical-align: middle;
width: auto;

.app-icon {
width: 20px;
Expand All @@ -62,10 +59,6 @@ $min-width: 200px;
height: 20px;
}

.app-entity {
margin: 0
}

&::before {
content: attr(data-label);
display: inline-block;
Expand All @@ -92,10 +85,6 @@ $min-width: 200px;
background-color: $app-light-grey;
}

&:last-child {
border: none;
}

&:hover {
background-color: $app-grey;
}
Expand Down Expand Up @@ -131,10 +120,6 @@ $min-width: 200px;
.app-entity-table__cell {
padding: govuk-spacing(3) govuk-spacing(2);
border: 1px solid govuk-colour("white");

.app-entity {
margin: 0;
}
}

.app-entity-table__cell--centered {
Expand Down
1 change: 0 additions & 1 deletion src/server/common/components/entity/_entity.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

.app-entity {
@include govuk-text-colour;
margin-right: govuk-spacing(1);
display: flex;
align-items: center;
}
Expand Down

0 comments on commit 845c27f

Please sign in to comment.