Skip to content

Commit

Permalink
made unstyled parameter for CardLink
Browse files Browse the repository at this point in the history
  • Loading branch information
steal4life committed Oct 24, 2023
1 parent 37a5c84 commit 97e1530
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Source/Blazorise.AntDesign/AntDesignClassProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,8 @@ public override string DropdownToggleSize( Size size, bool outline )

public override string CardLink() => "ant-card-extra";

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

public override string CardLinkActive( bool active ) => LinkActive( active );

#endregion
Expand Down
7 changes: 7 additions & 0 deletions Source/Blazorise.AntDesign/Styles/_link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@ a.ant-link-unstyled {
text-decoration: none;
color: inherit;
}

.ant-link-unstyled {
a {
text-decoration: none;
color: inherit;
}
}
5 changes: 5 additions & 0 deletions Source/Blazorise.AntDesign/wwwroot/blazorise.antdesign.css
Original file line number Diff line number Diff line change
Expand Up @@ -3451,6 +3451,11 @@ a.ant-link-unstyled {
color: inherit;
}

.ant-link-unstyled a {
text-decoration: none;
color: inherit;
}

.ant-modal {
width: 520px;
}
Expand Down

Large diffs are not rendered by default.

0 comments on commit 97e1530

Please sign in to comment.