affix copyButton so that it doesn't get scrolled horizontally

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2018-06-16 10:27:42 +01:00
parent a25cdb6ce5
commit 01a6b7f77f
No known key found for this signature in database
GPG Key ID: 3F879DA5AD802A5E
1 changed files with 2 additions and 1 deletions

View File

@ -392,6 +392,7 @@ limitations under the License.
overflow-x: overlay;
overflow-y: visible;
max-height: 30vh;
position: static;
}
.mx_EventTile_content .markdown-body code {
@ -406,7 +407,7 @@ limitations under the License.
visibility: hidden;
cursor: pointer;
top: 6px;
right: 6px;
right: 36px;
width: 19px;
height: 19px;
background-image: url($copy-button-url);