Skip to content
Open
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
12 changes: 7 additions & 5 deletions assets/bootstrap-5.3.0/scss/_close.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Transparent background and border properties included for button version.
// iOS requires the button element instead of an anchor tag.
// If you want the anchor version, it requires `href="#"`.
// See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile

.btn-close {
// scss-docs-start close-css-vars
--#{$prefix}btn-close-color: #{$btn-close-color};
Expand All @@ -25,6 +20,13 @@
@include border-radius();
opacity: var(--#{$prefix}btn-close-opacity);

// Center text inside button
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-size: smaller; // Optional: Adjust size as needed

// Override <a>'s hover style
&:hover {
color: var(--#{$prefix}btn-close-color);
Expand Down