Skip to content

Commit dd13859

Browse files
committed
Use govuk-frontend spacing
1 parent 112742a commit dd13859

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

app/assets/stylesheets/components/_error-message.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
.app-c-error-message {
44
display: block;
5-
margin-bottom: $app-spacing-scale-3;
5+
margin-bottom: govuk-spacing(3);
66
clear: both;
77
color: $govuk-error-colour;
88
@include govuk-font(19, $weight: bold);

app/assets/stylesheets/components/helpers/_variables.scss

-12
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
// Forked from GOV.UK Frontend, namespace changed to ensure no conflicts.
2-
3-
$app-spacing-scale-0: 0;
4-
$app-spacing-scale-1: 5px;
5-
$app-spacing-scale-2: 10px;
6-
$app-spacing-scale-3: 15px;
7-
$app-spacing-scale-4: 20px;
8-
$app-spacing-scale-5: 30px;
9-
$app-spacing-scale-6: 40px;
10-
$app-spacing-scale-7: 50px;
11-
$app-spacing-scale-8: 60px;
12-
131
$app-text-colour: $govuk-text-colour;
142
$app-secondary-text-colour: govuk-colour("dark-grey", $legacy: "grey-1");
153

0 commit comments

Comments
 (0)