mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-19 04:31:10 +02:00
Merge pull request #1980 from matrix-org/t3chguy/fix_copy-code-block_hscroll
affix copyButton so that it doesn't get scrolled horizontally
This commit is contained in:
commit
d1982c8317
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user