diff options
author | Mark Otto <markdotto@gmail.com> | 2022-05-13 20:11:09 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2022-05-13 20:16:05 +0300 |
commit | 46bb9e78d74e0c7f4fa6f6fa611f3d9f8f28860b (patch) | |
tree | 0fc94a55ee39f4f28f5753aca373caf045feaf0f /site/assets/scss | |
parent | ab37f63b3d7968d039b7961bca3fb29fe132a40e (diff) |
Fix homepage npm install snippet
Diffstat (limited to 'site/assets/scss')
-rw-r--r-- | site/assets/scss/_masthead.scss | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/site/assets/scss/_masthead.scss b/site/assets/scss/_masthead.scss index 4bb356e103..76d003c95e 100644 --- a/site/assets/scss/_masthead.scss +++ b/site/assets/scss/_masthead.scss @@ -26,13 +26,22 @@ } .highlight { - padding: .5rem 4rem .5rem 1rem; - line-height: 1.25; + width: 100%; + padding: .5rem 1rem; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; background-color: rgba(var(--bs-body-color-rgb), .075); @include border-radius(.5rem); + + @include media-breakpoint-up(lg) { + padding-right: 4rem; + } } .btn-clipboard { - margin-top: .4rem; + position: absolute; + top: -.125rem; + right: 0; background-color: transparent; } |