Skip to content

Commit b48f843

Browse files
committed
refactor: improve .card-actions
1 parent 13fbde7 commit b48f843

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

scss/_card.scss

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,17 @@
6363
}
6464

6565
.card-header-actions {
66-
position: absolute;
67-
top: 0;
68-
right: 0;
69-
display: inline-flex;
66+
display: inline-block;
67+
float: right;
68+
margin-right: - ($spacer / 4);
7069
}
7170

7271
.card-header-action {
73-
width: ($card-spacer-y * 2) + ($font-size-base * $line-height-base);
74-
padding: $card-spacer-y 0;
75-
color: $body-color;
76-
text-align: center;
77-
border-left: 1px solid $border-color;
72+
padding: 0 ($spacer / 4);
73+
color: $gray-600;
7874

7975
&:hover {
76+
color: $body-color;
8077
text-decoration: none;
8178
}
8279
}

0 commit comments

Comments
 (0)