mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
fix(apps): stop bot permission labels overlapping (#3148)
This commit is contained in:
+13
-15
@@ -331,19 +331,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.botPermissionList {
|
.botPermissionList {
|
||||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 1080px) {
|
|
||||||
.botPermissionList {
|
|
||||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 720px) {
|
|
||||||
.botPermissionList {
|
|
||||||
grid-template-columns: 1fr;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.scopeItem {
|
.scopeItem {
|
||||||
@@ -354,9 +342,19 @@
|
|||||||
min-width: 0;
|
min-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.scopeCheckbox {
|
||||||
|
flex: 1 1 auto;
|
||||||
|
min-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scopeCheckbox > div,
|
||||||
|
.scopeCheckbox > div > div {
|
||||||
|
min-width: 0;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.scopeLabel {
|
.scopeLabel {
|
||||||
display: inline-flex;
|
display: block;
|
||||||
align-items: center;
|
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|||||||
+2
@@ -117,6 +117,7 @@ export const OAuthBuilderSection: React.FC<OAuthBuilderSectionProps> = ({
|
|||||||
checked={!!field.value}
|
checked={!!field.value}
|
||||||
onChange={(checked) => field.onChange(checked)}
|
onChange={(checked) => field.onChange(checked)}
|
||||||
size="small"
|
size="small"
|
||||||
|
className={styles.scopeCheckbox}
|
||||||
data-flx="user.applications-tab.application-detail.o-auth-builder-section.checkbox.change"
|
data-flx="user.applications-tab.application-detail.o-auth-builder-section.checkbox.change"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
@@ -179,6 +180,7 @@ export const OAuthBuilderSection: React.FC<OAuthBuilderSectionProps> = ({
|
|||||||
checked={!!field.value}
|
checked={!!field.value}
|
||||||
onChange={(checked) => field.onChange(checked)}
|
onChange={(checked) => field.onChange(checked)}
|
||||||
size="small"
|
size="small"
|
||||||
|
className={styles.scopeCheckbox}
|
||||||
data-flx="user.applications-tab.application-detail.o-auth-builder-section.checkbox.change--2"
|
data-flx="user.applications-tab.application-detail.o-auth-builder-section.checkbox.change--2"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
|
|||||||
Reference in New Issue
Block a user