Skip to content

Commit

Permalink
Add tag styling
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Nov 14, 2024
1 parent 66bedbc commit 94346e4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions src/client/stylesheets/_tag-env.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@use "govuk-frontend" as *;

.app-tag--env {
margin: -6px 0 0;
vertical-align: top;
@include govuk-font-size($size: 16);

@include govuk-media-query($from: tablet) {
margin-top: -3px;
}
}
1 change: 1 addition & 0 deletions src/client/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@use "pkg:accessible-autocomplete";
@use "service-banner";
@use "summary-list";
@use "tag-env";
@use "prose";

// Use default GDS Transport font for autocomplete
Expand Down
2 changes: 1 addition & 1 deletion src/server/views/components/tag-env/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@

{{ govukTag({
text: text,
classes: classes
classes: classes + " app-tag--env"
}) }}

0 comments on commit 94346e4

Please sign in to comment.