Merge pull request #2013 from matrix-org/revert-1980-t3chguy/fix_copy-code-block_hscroll

Revert "affix copyButton so that it doesn't get scrolled horizontally"
This commit is contained in:
David Baker 2018-06-26 17:18:21 +01:00 committed by GitHub
commit 166ec68a9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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