1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

affix copyButton so that it doesn't get scrolled horizontally

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2018-06-16 10:27:42 +01:00
parent a25cdb6ce5
commit 01a6b7f77f

View File

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