UX: Select-kit update alignment fixes (#14199)

This commit is contained in:
Kris 2021-08-31 11:44:11 -04:00 committed by GitHub
parent 59975d7433
commit 94085d0996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 8 deletions

View File

@ -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;
} }

View File

@ -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;

View File

@ -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;
} }
} }
} }

View File

@ -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 {