css: Modify button styling to adjust for svg size change.

This builds on the previous commit and adds final touches to
both the button positioning and style.
This commit is contained in:
Sumanth V Rao 2020-08-28 19:19:24 +05:30 committed by Tim Abbott
parent b0c37713e5
commit ab9a011f89
2 changed files with 4 additions and 4 deletions

View File

@ -462,7 +462,7 @@
/* Having absolute positioning here ensures that the element
doesn't scroll along with the code div in narrow windows */
position: absolute;
right: 0;
right: 2px;
margin-top: -6px;
}
@ -471,7 +471,7 @@
position: absolute;
right: 23px;
margin-top: -2px;
font-size: 1.2em;
font-size: 1.4em;
/* The default icon and on-hover colors are inherited from <a> tag.
so we set our own to match the copy-to-clipbord icon */
color: hsl(0, 0%, 47%);

View File

@ -453,8 +453,8 @@ li,
.copy_message {
position: relative;
top: 28px;
left: -5px;
top: 27px;
left: -10px;
margin-top: -24px;
}