🚧 General components review
This commit is contained in:
parent
905b4b1cba
commit
3d2e750577
25 changed files with 1557 additions and 304 deletions
|
|
@ -124,16 +124,16 @@ impl ThemeTrait for Bootsier {
|
|||
}
|
||||
_ => {}
|
||||
};
|
||||
match a.anchor_type() {
|
||||
match a.button_type() {
|
||||
ButtonType::Link => {
|
||||
a.alter_classes(
|
||||
ClassesOp::Replace(a.anchor_type().to_string()),
|
||||
ClassesOp::Replace(a.button_type().to_string()),
|
||||
"btn btn-link",
|
||||
);
|
||||
}
|
||||
ButtonType::Primary => {
|
||||
a.alter_classes(
|
||||
ClassesOp::Replace(a.anchor_type().to_string()),
|
||||
ClassesOp::Replace(a.button_type().to_string()),
|
||||
"btn btn-primary",
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,5 +3,11 @@
|
|||
/* Heading component */
|
||||
|
||||
.pt-heading__subtitle {
|
||||
margin-top: calc(-1 * var(--pt-gap-0-5));
|
||||
margin-top: calc(-1 * var(--pt-gap-0-35));
|
||||
}
|
||||
|
||||
/* Button component */
|
||||
|
||||
.btn-link {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue