fix for mobile highlighting width

This commit is contained in:
Erik Derohanian 2021-12-11 12:39:47 -05:00
parent 0fa412b280
commit 152686af70

View file

@ -3,7 +3,7 @@ $ht-code-border-radius: .4em;
width: 55%;
overflow-x: scroll;
border-radius: $ht-code-border-radius;
&>div.chroma>table.lntable{
margin: $ht-code-border-radius 0 $ht-code-border-radius 0;
& td:first-of-type {
@ -28,7 +28,7 @@ $ht-code-border-radius: .4em;
// border-radius: $ht-code-border-radius / 2;
display: block;
}
&::-webkit-scrollbar {
border-radius: $ht-code-border-radius;
width: 10px;
@ -39,6 +39,12 @@ $ht-code-border-radius: .4em;
}
}
@media screen and (max-width: 760px) {
.highlight {
width: 90%;
}
}
.highlight .lntable {
overflow: initial;
}