X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/c076ca408cb43b4e276938c68e6ab004f89645f2..refs/pull/2511/head:/resources/sass/_text.scss diff --git a/resources/sass/_text.scss b/resources/sass/_text.scss index 4ada34725..4ece0ea20 100644 --- a/resources/sass/_text.scss +++ b/resources/sass/_text.scss @@ -112,6 +112,12 @@ a { } } +a.disabled { + pointer-events: none; + cursor: default; + opacity: 0.6; +} + .blended-links a { color: inherit; svg { @@ -352,12 +358,21 @@ li > ol, li > ul { overflow-wrap: break-word; } -.limit-text { +.text-limit-lines-1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } +.text-limit-lines-2 { + // -webkit use here is actually standardised cross-browser: + // https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; + overflow: hidden; +} + /** * Grouping */