Merge pull request #13172 from vvlladd28/improvement/markdown-clipboard/style
Improved CSS styles for copy-code button in markdown
This commit is contained in:
commit
e70bba0dd6
@ -124,7 +124,6 @@
|
|||||||
background: #F3F6FA;
|
background: #F3F6FA;
|
||||||
border-color: #305680;
|
border-color: #305680;
|
||||||
padding-right: 38px;
|
padding-right: 38px;
|
||||||
overflow: scroll;
|
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
min-height: 42px;
|
min-height: 42px;
|
||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
|
|||||||
@ -270,7 +270,7 @@
|
|||||||
outline: none;
|
outline: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 206px;
|
width: 206px;
|
||||||
height: 42px;
|
height: 32px;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 32px;
|
right: 32px;
|
||||||
background: 0 0;
|
background: 0 0;
|
||||||
@ -281,11 +281,11 @@
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
&.multiline {
|
&.multiline {
|
||||||
right: 44px;
|
right: 38px;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
padding: 8px;
|
padding: 8px 8px 0;
|
||||||
top: 1px;
|
top: 1px;
|
||||||
transition: .2s;
|
transition: .2s;
|
||||||
color: #2a7dec;
|
color: #2a7dec;
|
||||||
@ -301,10 +301,10 @@
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 38px;
|
width: 38px;
|
||||||
height: 38px;
|
height: 28px;
|
||||||
top: 3px;
|
top: 3px;
|
||||||
right: 3px;
|
right: 3px;
|
||||||
padding: 10px;
|
padding: 10px 10px 0;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
position: initial;
|
position: initial;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user