Files
freeCodeCamp/common/app/routes/Challenges/views/classic/classic.less
2018-01-17 05:11:20 +07:00

23 lines
432 B
Plaintext

// should match filename and ./ns.json
@ns: classic;
// challenge panes are bound to the pane size which in turn is
// bound to the total height minus navbar height
.max-element-height() {
height: 100%;
overflow-x: hidden;
overflow-y: auto;
}
.@{ns}-instructions-panel {
.max-element-height();
padding-bottom: 10px;
padding-left: 5px;
padding-right: 5px;
}
.@{ns}-editor {
.max-element-height();
width: 100%;
}