mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 04:31:56 +08:00
UX: Select-kit update alignment fixes (#14199)
This commit is contained in:
parent
59975d7433
commit
94085d0996
|
@ -79,10 +79,6 @@
|
|||
min-height: unset;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.d-icon + .d-icon {
|
||||
margin-left: 0.25em;
|
||||
}
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
}
|
||||
|
||||
.period-chooser-header {
|
||||
display: inline-block; // safari 14 has issues with summary elements and flexbox
|
||||
background: none;
|
||||
border: none;
|
||||
justify-content: flex-start;
|
||||
width: auto;
|
||||
height: auto;
|
||||
padding: 0;
|
||||
|
@ -21,6 +21,11 @@
|
|||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
|
||||
// for text + caret alignment
|
||||
line-height: 1;
|
||||
vertical-align: bottom;
|
||||
margin-bottom: 10px;
|
||||
|
||||
.date-section {
|
||||
color: var(--primary);
|
||||
margin-right: 5px;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
.select-kit {
|
||||
&.dropdown-select-box {
|
||||
&.user-notifications-dropdown {
|
||||
display: flex;
|
||||
text-align: left;
|
||||
|
||||
.d-icon {
|
||||
|
@ -12,8 +13,8 @@
|
|||
max-width: 485px;
|
||||
}
|
||||
|
||||
.dropdown-select-box-header {
|
||||
align-items: center;
|
||||
.select-kit-header-wrapper {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -244,7 +244,6 @@
|
|||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
flex-wrap: wrap;
|
||||
margin-left: -1em;
|
||||
li,
|
||||
> span {
|
||||
display: flex;
|
||||
|
@ -264,6 +263,10 @@
|
|||
}
|
||||
}
|
||||
|
||||
> ul {
|
||||
margin-left: -1em; // negates left button margin, for alignment
|
||||
}
|
||||
|
||||
.user-profile-controls-outlet {
|
||||
margin: 0 0 0 1em;
|
||||
li {
|
||||
|
|
Loading…
Reference in New Issue
Block a user