web: colocate copy button styles with components that use them
This commit is contained in:
parent
95f4ce86d6
commit
6191232d5f
3 changed files with 12 additions and 20 deletions
|
|
@ -1,4 +1,5 @@
|
|||
.root {
|
||||
position: relative;
|
||||
color: var(--sl-color-text);
|
||||
background-color: var(--sl-color-bg-surface);
|
||||
padding: 0.5rem calc(0.5rem + 3px);
|
||||
|
|
@ -54,4 +55,9 @@
|
|||
&[data-theme="blue"] {
|
||||
background-color: var(--sl-color-blue-low);
|
||||
}
|
||||
|
||||
[data-component="copy-button"] {
|
||||
top: 0.5rem;
|
||||
right: calc(0.5rem - 1px);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue