Merge pull request #13172 from vvlladd28/improvement/markdown-clipboard/style

Improved CSS styles for copy-code button in markdown
This commit is contained in:
Igor Kulikov 2025-04-10 18:08:51 +03:00 committed by GitHub
commit e70bba0dd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 6 deletions

View File

@ -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;

View File

@ -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;