misc fixes

This commit is contained in:
Henry Jameson 2020-05-24 02:29:09 +03:00
parent ab74cd4972
commit a872c53472
2 changed files with 47 additions and 15 deletions

View File

@ -0,0 +1,29 @@
.mutes-and-blocks-tab {
height: 100%;
.usersearch-wrapper {
padding: 1em;
}
.bulk-actions {
text-align: right;
padding: 0 1em;
min-height: 28px;
}
.bulk-action-button {
width: 10em
}
.domain-mute-form {
padding: 1em;
display: flex;
flex-direction: column
}
.domain-mute-button {
align-self: flex-end;
margin-top: 1em;
width: 10em
}
}

View File

@ -61,14 +61,22 @@
overflow-x: hidden; overflow-x: hidden;
flex-direction: column; flex-direction: column;
&::after { &::after {
content: '';
flex: 1 1 auto; flex: 1 1 auto;
}
&::before {
flex: 0 0 auto;
height: 0.5em;
}
&::after, &::before {
content: '';
border-right: 1px solid; border-right: 1px solid;
border-right-color: $fallback--border; border-right-color: $fallback--border;
border-right-color: var(--border, $fallback--border); border-right-color: var(--border, $fallback--border);
} }
.tab-wrapper { .tab-wrapper {
min-width: 10em; min-width: 10em;
display: flex;
flex-direction: column;
&:not(.active)::after { &:not(.active)::after {
top: 0; top: 0;
right: 0; right: 0;
@ -77,14 +85,21 @@
border-right-color: $fallback--border; border-right-color: $fallback--border;
border-right-color: var(--border, $fallback--border); border-right-color: var(--border, $fallback--border);
} }
&::before {
flex: 0 0 6px;
content: '';
border-right: 1px solid;
border-right-color: $fallback--border;
border-right-color: var(--border, $fallback--border);
}
&:last-child .tab { &:last-child .tab {
margin-bottom: 0; margin-bottom: 0;
} }
} }
.tab { .tab {
flex: 1;
box-sizing: content-box; box-sizing: content-box;
width: 100%;
margin-bottom: 5px;
min-width: 10em; min-width: 10em;
min-width: 1px; min-width: 1px;
border-top-right-radius: 0; border-top-right-radius: 0;
@ -105,18 +120,6 @@
border-right-color: var(--border, $fallback--border); border-right-color: var(--border, $fallback--border);
} }
} }
.tab {
box-sizing: content-box;
width: 100%;
margin-bottom: 5px;
min-width: 10em;
min-width: 1px;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
// padding-right: 200px;
// margin-right: 6px - 200px;
margin-left: 6px;
}
} }
} }