Skip to content

Commit c33f670

Browse files
put proper styling on copy button
1 parent 8584201 commit c33f670

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/cpt-ui/src/styles/prescriptionInformationBanner.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,18 @@
7171
padding-bottom: 0;
7272
}
7373
}
74+
75+
.copy-button.nhsuk-button--secondary:not(:focus):not(:active)::before,
76+
.copy-button.nhsuk-button--secondary-solid:not(:focus):not(:active)::before {
77+
border-color: #007f3b;
78+
}
79+
80+
.copy-button.nhsuk-button--secondary,
81+
.copy-button.nhsuk-button--secondary::after,
82+
.copy-button.nhsuk-button--secondary-solid,
83+
.copy-button.nhsuk-button--secondary-solid::after {
84+
box-shadow: 0 4px 0 #004721;
85+
}
7486
.nhsuk-u-margin-1 {
7587
margin: 4px !important;
7688
}

0 commit comments

Comments
 (0)