Skip to content

Commit

Permalink
Made Unstyled to work Bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
steal4life committed Oct 12, 2023
1 parent a2457fe commit 9da96da
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Source/Blazorise.Bootstrap/BootstrapClassProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1203,6 +1203,8 @@ public override string OffcanvasFade( bool showing, bool hiding ) => showing

public override string LinkActive( bool active ) => active ? Active() : null;

public override string LinkUnstyled( bool unstyled ) => unstyled ? "link-unstyled" : null;

#endregion

#region States
Expand Down
4 changes: 4 additions & 0 deletions Source/Blazorise.Bootstrap/Styles/_link.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.link-unstyled {
text-decoration: none;
color: inherit !important;
}
1 change: 1 addition & 0 deletions Source/Blazorise.Bootstrap/Styles/blazorise.bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
@import "jumbotron";
@import "layout";
@import "list";
@import "link";
@import "modal";
@import "offcanvas";
@import "pagination";
Expand Down
5 changes: 5 additions & 0 deletions Source/Blazorise.Bootstrap/wwwroot/blazorise.bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -845,6 +845,11 @@ li.list-group-item-action {
overflow-y: scroll;
}

.link-unstyled {
text-decoration: none;
color: inherit !important;
}

.modal .modal-fullscreen {
width: 100vw;
max-width: none;
Expand Down

Large diffs are not rendered by default.

0 comments on commit 9da96da

Please sign in to comment.