We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Subhead
1 parent b7fd01d commit af5a3aeCopy full SHA for af5a3ae
.changeset/dull-chefs-cover.md
@@ -0,0 +1,5 @@
1
+---
2
+"@primer/css": patch
3
4
+
5
+Update `Subhead` actions
src/subhead/subhead.scss
@@ -5,6 +5,7 @@
margin-bottom: $spacer-3;
6
border-bottom: $border-width $border-style var(--color-border-muted);
7
flex-flow: row wrap;
8
+ justify-content: flex-end; // Keep actions right aligned.
9
}
10
11
// Modifier class to give a lot of breathing room between sections of content.
@@ -34,6 +35,11 @@
34
35
36
// Add 1 or 2 buttons to the right of the heading
37
.Subhead-actions {
38
+ margin: $spacer-1 0 $spacer-1 $spacer-1;
39
align-self: center;
40
justify-content: flex-end;
41
42
+ + .Subhead-description {
43
+ margin-top: $spacer-1;
44
+ }
45
0 commit comments