1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-09 05:00:45 +02:00

CSS: doc fixes (#36425)

* Remove unused attributes

* Use utilities rather than using new CSS

* Removed unused class

* Change StackBlitz icon `aria-label` + small inconsistency
This commit is contained in:
Louis-Maxime Piton
2022-05-24 19:39:57 +02:00
committed by GitHub
parent afef596f20
commit dea14df8ca
6 changed files with 14 additions and 25 deletions

View File

@@ -22,7 +22,7 @@
'<div class="bd-code-snippet">',
' <div class="bd-clipboard">',
' <button type="button" class="btn-clipboard">',
' <svg class="bi" width="1em" height="1em" fill="currentColor" role="img" aria-label="Copy"><use xlink:href="#clipboard"/></svg>',
' <svg class="bi" role="img" aria-label="Copy"><use xlink:href="#clipboard"/></svg>',
' </button>',
' </div>',
'</div>'

View File

@@ -42,10 +42,3 @@
margin-top: .75rem;
margin-right: .75rem;
}
.highlight-toolbar {
.btn-clipboard {
margin-top: 0;
margin-right: 0;
}
}

View File

@@ -90,10 +90,6 @@
}
}
.masthead-followup-svg {
filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .125));
}
.masthead-notice {
background-color: var(--bd-accent);
box-shadow: inset 0 -1px 1px rgba(var(--bs-body-color-rgb), .15), 0 .25rem 1.5rem rgba(var(--bs-body-bg-rgb), .75);