c7b04841c0
Add max-height to prevent images from displaying larger than the provided screen size. Also fix a failing test and add a new one.
68 lines
980 B
SCSS
68 lines
980 B
SCSS
.documentation-index {
|
|
h1 {
|
|
margin: 0;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
li {
|
|
line-height: 24px;
|
|
color: #888;
|
|
|
|
a {
|
|
margin-right: 3px;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.shortcut-mappings {
|
|
font-size: 12px;
|
|
color: #555;
|
|
|
|
tbody:first-child tr:first-child {
|
|
padding-top: 0
|
|
}
|
|
|
|
th {
|
|
padding-top: 15px;
|
|
line-height: 1.5;
|
|
color: #333;
|
|
text-align: left
|
|
}
|
|
|
|
td {
|
|
padding-top: 3px;
|
|
padding-bottom: 3px;
|
|
vertical-align: top;
|
|
line-height: 20px
|
|
}
|
|
|
|
.shortcut {
|
|
padding-right: 10px;
|
|
color: #999;
|
|
text-align: right;
|
|
white-space: nowrap
|
|
}
|
|
|
|
.key {
|
|
@extend .label;
|
|
@extend .label-inverse;
|
|
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
padding: 3px 5px;
|
|
}
|
|
}
|
|
|
|
.documentation {
|
|
padding: 7px;
|
|
|
|
// Border around images in the help pages.
|
|
img:not(.emoji) {
|
|
border: 1px solid $table-border-gray;
|
|
padding: 5px;
|
|
margin: 5px;
|
|
max-height: calc(100vh - 100px);
|
|
}
|
|
}
|