mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
When the component was renamed from ‘API key’ to ‘Copy to clipboard’ the class for the thing to be copied changed from `api-key__key` to `copy-to-clipboard__value`. While the CSS was updated to reflect the change from `api-key` to `copy-to-clipboard` the change from `__key` to `__value` was not made. Before:4921e6d46e/app/templates/components/api-key.htmlAfter:85f6881a56/app/templates/components/copy-to-clipboard.htmlThis commit changes updates the CSS to reflect the latter change, so that the styles get applied properly.
34 lines
437 B
SCSS
34 lines
437 B
SCSS
.copy-to-clipboard {
|
|
|
|
position: relative;
|
|
padding-bottom: 38px; // height of button
|
|
display: flex;
|
|
|
|
&__name {
|
|
@include bold-19;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
&__notice,
|
|
&__value {
|
|
font-family: monospace;
|
|
display: block;
|
|
padding: 0 0 10px 0;
|
|
margin: auto 0;
|
|
}
|
|
|
|
&__button--show,
|
|
&__button--copy {
|
|
|
|
position: absolute;
|
|
bottom: 2px;
|
|
left: 0px;
|
|
|
|
&:active {
|
|
top: auto;
|
|
}
|
|
|
|
}
|
|
|
|
}
|