44 lines
743 B
CSS
44 lines
743 B
CSS
.line {
|
|
display: flex;
|
|
min-height: 1lh;
|
|
white-space: pre;
|
|
}
|
|
|
|
.gutter {
|
|
flex: none;
|
|
width: var(--dsl-read-gutter);
|
|
margin-right: 12px;
|
|
text-align: right;
|
|
color: var(--dsw-alias-label-tertiary);
|
|
user-select: none;
|
|
}
|
|
|
|
.content {
|
|
min-width: 0;
|
|
color: var(--dsw-alias-label-primary);
|
|
}
|
|
|
|
.block[data-code-wrap='true'] .line {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.block[data-code-wrap='true'] .content {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.expand {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 0 0 0 calc(var(--dsl-read-gutter) + 12px);
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--dsw-alias-label-tertiary);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
text-align: left;
|
|
}
|
|
|
|
.expand:hover {
|
|
color: var(--dsw-alias-label-secondary);
|
|
}
|