swarm-ui: give the badge row its own stylesheet, imported where it is used
This commit is contained in:
parent
369946169c
commit
5541e3606b
2 changed files with 11 additions and 7 deletions
|
|
@ -25,10 +25,3 @@
|
|||
display: grid;
|
||||
gap: 0.3em;
|
||||
}
|
||||
/* A line of badges that wraps when it runs out of room. */
|
||||
.ui-badge-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 0.4em;
|
||||
}
|
||||
|
|
|
|||
8
frontend/packages/swarm-ui/src/ui/badge-row/BadgeRow.css
Normal file
8
frontend/packages/swarm-ui/src/ui/badge-row/BadgeRow.css
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/* A line of badges that wraps when it runs out of room. Import this where the
|
||||
class is used. */
|
||||
.ui-badge-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 0.4em;
|
||||
}
|
||||
Loading…
Reference in a new issue