Skip to content

Commit

Permalink
fix: alert link underline
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Stagi <stagi.andrea@gmail.com>
  • Loading branch information
zetareticoli and astagi authored Sep 10, 2024
1 parent 5156681 commit 9aa281d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/scss/bootstrap-italia.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
@import 'bootstrap/scss/breadcrumb';
@import 'bootstrap/scss/pagination';
@import 'bootstrap/scss/badge';
@import 'bootstrap/scss/alert';
@import 'bootstrap/scss/progress';
@import 'bootstrap/scss/list-group';
@import 'bootstrap/scss/close';
Expand Down
10 changes: 3 additions & 7 deletions src/scss/custom/_alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
background-position: 20px 12px;
background-repeat: no-repeat;
background-size: 32px 32px;
.alert-link {
color: $link-color;
}
}

// Headings for larger alerts
Expand All @@ -25,13 +22,13 @@

// Provide class for links that match alerts
.alert-link {
font-weight: $alert-link-font-weight;
text-decoration: none;
color: $link-color;
font-weight: $font-weight-semibold;
text-decoration: underline;
}

// Dismissible alerts
// Expand the right padding and account for the close button's positioning.

.alert-dismissible {
padding-right: ($alert-padding-x * 2);
// Adjust close link position
Expand All @@ -47,7 +44,6 @@

// Alternate styles
// Generate contextual modifier classes for colorizing the alert.

@each $color, $value in $theme-colors {
@if ($color == 'danger' or $color == 'warning' or $color == 'success' or $color == 'info' or $color == 'primary') {
.alert-#{$color} {
Expand Down

0 comments on commit 9aa281d

Please # to comment.