Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bundlewatch.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
{
"path": "./dist/css/bootstrap-utilities.min.css",
"maxSize": "10.75 kB"
"maxSize": "11 kB"
},
{
"path": "./dist/css/bootstrap.css",
Expand Down
10 changes: 4 additions & 6 deletions scss/mixins/_visually-hidden.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,18 @@
// See: https://kittygiraudel.com/2016/10/13/css-hide-and-seek/

@mixin visually-hidden() {
display: inline-block !important; // using this rather than position:absolute to allow for width/height/clip to work without causing undue spacing (e.g. in responsive tables)
flex: none !important;
width: 1px !important;
height: 1px !important;
padding: 0 !important;
margin: -1px !important; // Fix for https://github.com/twbs/bootstrap/issues/25686
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
clip-path: inset(50%) !important;
contain: strict !important;
white-space: nowrap !important;
border: 0 !important;

// Fix for positioned table caption that could become anonymous cells
&:not(caption) {
position: absolute !important;
}

// Fix to prevent overflowing children to become focusable
* {
overflow: hidden !important;
Expand Down