mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:02:19 +00:00
UX: align tags to top in modal (#23055)
* UX: align tags to top in modal * UX: fix alignment in grid with multiple rows
This commit is contained in:
parent
bda3ead644
commit
ca1671023a
@ -4,6 +4,9 @@
|
|||||||
gap: 0 0.5em;
|
gap: 0 0.5em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
grid-template-columns: repeat(auto-fill, minmax(12em, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(12em, 1fr));
|
||||||
|
align-items: flex-start;
|
||||||
|
grid-auto-rows: min-content;
|
||||||
|
|
||||||
&__no-tags {
|
&__no-tags {
|
||||||
grid-column-start: 1;
|
grid-column-start: 1;
|
||||||
grid-column-end: -1;
|
grid-column-end: -1;
|
||||||
@ -12,6 +15,7 @@
|
|||||||
.sidebar-tags-form__tag {
|
.sidebar-tags-form__tag {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
|
||||||
.sidebar-tags-form__tag-label {
|
.sidebar-tags-form__tag-label {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user