mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-25 18:36:19 +00:00
add scroll on overflowing
This commit is contained in:
parent
58fa1ef6e9
commit
865896634d
@ -20,3 +20,4 @@
|
||||
//components
|
||||
@import "./sources/components/builds.less";
|
||||
@import "./sources/components/projects.less";
|
||||
@import "./sources/components/terminal.less";
|
||||
|
6
static/css/sources/components/terminal.less
Normal file
6
static/css/sources/components/terminal.less
Normal file
@ -0,0 +1,6 @@
|
||||
.terminal {
|
||||
&_code {
|
||||
max-height: 100px;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
}
|
@ -1 +1,2 @@
|
||||
pre= data
|
||||
.terminal
|
||||
pre.terminal_code= data
|
||||
|
Loading…
Reference in New Issue
Block a user