mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08: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-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);
|
||||
|
Loading…
Reference in New Issue
Block a user