1
0
Fork 0
mirror of synced 2024-09-08 21:51:58 +12:00

Update table styles to support flexible column widths much better

This commit is contained in:
Andrew Kingston 2022-12-20 17:22:39 +00:00
parent 5d74763c42
commit f12fdf48ff
2 changed files with 4 additions and 4 deletions

View file

@ -10,5 +10,7 @@
text-overflow: ellipsis;
white-space: nowrap;
max-width: var(--max-cell-width);
width: 0;
flex: 1 1 auto;
}
</style>

View file

@ -4,17 +4,13 @@
Heading,
Body,
Button,
List,
ListItem,
Modal,
notifications,
Pagination,
Divider,
Icon,
Table,
} from "@budibase/bbui"
import { onMount, setContext } from "svelte"
import RoleSelect from "components/common/RoleSelect.svelte"
import { users, groups, apps, licensing, overview } from "stores/portal"
import AssignmentModal from "./_components/AssignmentModal.svelte"
import { roles } from "stores/backend"
@ -26,6 +22,7 @@
const userSchema = {
email: {
type: "string",
width: "1fr",
},
userAppRole: {
displayName: "Access",
@ -36,6 +33,7 @@
const groupSchema = {
name: {
type: "string",
width: "1fr",
},
groupAppRole: {
displayName: "Access",