1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 08:39:56 +02:00

Fix homepage npm install snippet

This commit is contained in:
Mark Otto
2022-05-13 10:11:09 -07:00
committed by XhmikosR
parent ab37f63b3d
commit 46bb9e78d7
2 changed files with 15 additions and 6 deletions

View File

@@ -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;
}