mirror of
https://github.com/discourse/discourse.git
synced 2025-04-01 11:16:42 +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;
|
min-height: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus {
|
|
||||||
border: 1px solid transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
.d-icon + .d-icon {
|
.d-icon + .d-icon {
|
||||||
margin-left: 0.25em;
|
margin-left: 0.25em;
|
||||||
}
|
}
|
||||||
|
@ -9,9 +9,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.period-chooser-header {
|
.period-chooser-header {
|
||||||
|
display: inline-block; // safari 14 has issues with summary elements and flexbox
|
||||||
background: none;
|
background: none;
|
||||||
border: none;
|
border: none;
|
||||||
justify-content: flex-start;
|
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -21,6 +21,11 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
// for text + caret alignment
|
||||||
|
line-height: 1;
|
||||||
|
vertical-align: bottom;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
|
||||||
.date-section {
|
.date-section {
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
.select-kit {
|
.select-kit {
|
||||||
&.dropdown-select-box {
|
&.dropdown-select-box {
|
||||||
&.user-notifications-dropdown {
|
&.user-notifications-dropdown {
|
||||||
|
display: flex;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
||||||
.d-icon {
|
.d-icon {
|
||||||
@ -12,8 +13,8 @@
|
|||||||
max-width: 485px;
|
max-width: 485px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-select-box-header {
|
.select-kit-header-wrapper {
|
||||||
align-items: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -244,7 +244,6 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin-left: -1em;
|
|
||||||
li,
|
li,
|
||||||
> span {
|
> span {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -264,6 +263,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> ul {
|
||||||
|
margin-left: -1em; // negates left button margin, for alignment
|
||||||
|
}
|
||||||
|
|
||||||
.user-profile-controls-outlet {
|
.user-profile-controls-outlet {
|
||||||
margin: 0 0 0 1em;
|
margin: 0 0 0 1em;
|
||||||
li {
|
li {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user