mirror of
https://github.com/primer/css.git
synced 2024-11-29 14:14:26 +03:00
Update Subhead
actions (#1690)
* Right align .Subhead-actions * Create dull-chefs-cover.md * Increase spacing when description follows actions
This commit is contained in:
parent
b7fd01d5a1
commit
af5a3ae826
5
.changeset/dull-chefs-cover.md
Normal file
5
.changeset/dull-chefs-cover.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@primer/css": patch
|
||||
---
|
||||
|
||||
Update `Subhead` actions
|
@ -5,6 +5,7 @@
|
||||
margin-bottom: $spacer-3;
|
||||
border-bottom: $border-width $border-style var(--color-border-muted);
|
||||
flex-flow: row wrap;
|
||||
justify-content: flex-end; // Keep actions right aligned.
|
||||
}
|
||||
|
||||
// Modifier class to give a lot of breathing room between sections of content.
|
||||
@ -34,6 +35,11 @@
|
||||
|
||||
// Add 1 or 2 buttons to the right of the heading
|
||||
.Subhead-actions {
|
||||
margin: $spacer-1 0 $spacer-1 $spacer-1;
|
||||
align-self: center;
|
||||
justify-content: flex-end;
|
||||
|
||||
+ .Subhead-description {
|
||||
margin-top: $spacer-1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user