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:
commit
166ec68a9a
1 changed files with 1 additions and 2 deletions
|
@ -392,7 +392,6 @@ 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 {
|
||||||
|
@ -407,7 +406,7 @@ limitations under the License.
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
top: 6px;
|
top: 6px;
|
||||||
right: 36px;
|
right: 6px;
|
||||||
width: 19px;
|
width: 19px;
|
||||||
height: 19px;
|
height: 19px;
|
||||||
background-image: url($copy-button-url);
|
background-image: url($copy-button-url);
|
||||||
|
|
Loading…
Reference in a new issue