mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
#1664 Set a maximum height for codeblocks
This commit is contained in:
parent
607923b58f
commit
c7d0214aaa
@ -17,3 +17,8 @@ limitations under the License.
|
||||
.mx_MTextBody {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.mx_MTextBody pre{
|
||||
overflow-y: auto;
|
||||
max-height: 30vh;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user