Browse Source
Merge pull request #13172 from vvlladd28/improvement/markdown-clipboard/style
Improved CSS styles for copy-code button in markdown
pull/13181/head
Igor Kulikov
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
5 additions and
6 deletions
-
ui-ngx/src/app/modules/home/pages/device/device-check-connectivity-dialog.component.scss
-
ui-ngx/src/app/shared/components/markdown.component.scss
|
|
@ -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; |
|
|
|