({
color: theme.colorText,
- [inline ? 'marginLeft' : 'marginTop']: theme.sizeUnit,
+ [inline ? 'marginLeft' : 'marginTop']: theme.marginXXS,
})}
>
{errorMessage}
diff --git a/superset-frontend/src/components/Datasource/Fieldset.tsx b/superset-frontend/src/components/Datasource/Fieldset.tsx
index cf1efd4434d..cbe6413e119 100644
--- a/superset-frontend/src/components/Datasource/Fieldset.tsx
+++ b/superset-frontend/src/components/Datasource/Fieldset.tsx
@@ -18,6 +18,7 @@
*/
import { ReactNode, useCallback } from 'react';
import { Divider, Form, Typography } from '@superset-ui/core/components';
+import { css } from '@superset-ui/core';
import { recurseReactClone } from './utils';
import Field from './Field';
@@ -57,7 +58,12 @@ export default function Fieldset({
return (
),
+ size: 'xxl',
id: QueryObjectColumns.Sql,
},
{
Header: t('Actions'),
id: 'actions',
disableSortBy: true,
+ size: 'sm',
Cell: ({
row: {
original: { id },
diff --git a/superset-frontend/src/pages/RolesList/index.tsx b/superset-frontend/src/pages/RolesList/index.tsx
index 1bddeed2472..79d30354975 100644
--- a/superset-frontend/src/pages/RolesList/index.tsx
+++ b/superset-frontend/src/pages/RolesList/index.tsx
@@ -189,6 +189,7 @@ function RolesList({ addDangerToast, addSuccessToast, user }: RolesListProps) {
accessor: 'name',
id: 'name',
Header: t('Name'),
+ size: 'xxl',
Cell: ({
row: {
original: { name },
diff --git a/superset-frontend/src/pages/RowLevelSecurityList/index.tsx b/superset-frontend/src/pages/RowLevelSecurityList/index.tsx
index fa0f3085f57..c4c33a0df56 100644
--- a/superset-frontend/src/pages/RowLevelSecurityList/index.tsx
+++ b/superset-frontend/src/pages/RowLevelSecurityList/index.tsx
@@ -126,23 +126,25 @@ function RowLevelSecurityList(props: RLSProps) {
{
accessor: 'name',
Header: t('Name'),
+ size: 'xxl',
id: 'name',
},
{
accessor: 'filter_type',
Header: t('Filter Type'),
- size: 'xl',
+ size: 'lg',
id: 'filter_type',
},
{
accessor: 'group_key',
Header: t('Group Key'),
- size: 'xl',
+ size: 'lg',
id: 'group_key',
},
{
accessor: 'clause',
Header: t('Clause'),
+ size: 'xl',
id: 'clause',
},
{
@@ -226,6 +228,7 @@ function RowLevelSecurityList(props: RLSProps) {
id: 'actions',
hidden: !canEdit && !canWrite && !canExport,
disableSortBy: true,
+ size: 'lg',
},
{
accessor: QueryObjectColumns.ChangedBy,
diff --git a/superset-frontend/src/pages/SavedQueryList/index.tsx b/superset-frontend/src/pages/SavedQueryList/index.tsx
index 0af664153e7..0dfc659d366 100644
--- a/superset-frontend/src/pages/SavedQueryList/index.tsx
+++ b/superset-frontend/src/pages/SavedQueryList/index.tsx
@@ -315,6 +315,7 @@ function SavedQueryList({
{
accessor: 'label',
Header: t('Name'),
+ size: 'xxl',
Cell: ({
row: {
original: { id, label },
@@ -325,12 +326,13 @@ function SavedQueryList({
{
accessor: 'description',
Header: t('Description'),
+ size: 'xl',
id: 'description',
},
{
accessor: 'database.database_name',
Header: t('Database'),
- size: 'xl',
+ size: 'lg',
id: 'database.database_name',
},
{
@@ -342,7 +344,7 @@ function SavedQueryList({
{
accessor: 'schema',
Header: t('Schema'),
- size: 'xl',
+ size: 'lg',
id: 'schema',
},
{
@@ -380,7 +382,7 @@ function SavedQueryList({
},
accessor: 'sql_tables',
Header: t('Tables'),
- size: 'xl',
+ size: 'lg',
disableSortBy: true,
id: 'sql_tables',
},
diff --git a/superset-frontend/src/pages/Tags/index.tsx b/superset-frontend/src/pages/Tags/index.tsx
index c9f062e644c..c653bcbbd9b 100644
--- a/superset-frontend/src/pages/Tags/index.tsx
+++ b/superset-frontend/src/pages/Tags/index.tsx
@@ -172,6 +172,7 @@ function TagList(props: TagListProps) {
),
Header: t('Name'),
accessor: 'name',
+ size: 'xxl',
id: 'name',
},
{
diff --git a/superset-frontend/src/pages/ThemeList/index.tsx b/superset-frontend/src/pages/ThemeList/index.tsx
index c9ec06dc003..2733926fd4e 100644
--- a/superset-frontend/src/pages/ThemeList/index.tsx
+++ b/superset-frontend/src/pages/ThemeList/index.tsx
@@ -57,6 +57,7 @@ const PAGE_SIZE = 25;
const FlexRowContainer = styled.div`
align-items: center;
display: flex;
+ gap: ${({ theme }) => theme.sizeUnit}px;
.ant-tag {
margin-left: ${({ theme }) => theme.sizeUnit * 2}px;
diff --git a/superset-frontend/src/pages/UsersList/index.tsx b/superset-frontend/src/pages/UsersList/index.tsx
index bd1d65ad93b..a4ee4c17e13 100644
--- a/superset-frontend/src/pages/UsersList/index.tsx
+++ b/superset-frontend/src/pages/UsersList/index.tsx
@@ -190,6 +190,7 @@ function UsersList({ user }: UsersListProps) {
accessor: 'first_name',
id: 'first_name',
Header: t('First name'),
+ size: 'lg',
Cell: ({
row: {
original: { first_name },
@@ -200,6 +201,7 @@ function UsersList({ user }: UsersListProps) {
accessor: 'last_name',
id: 'last_name',
Header: t('Last name'),
+ size: 'lg',
Cell: ({
row: {
original: { last_name },
@@ -210,6 +212,7 @@ function UsersList({ user }: UsersListProps) {
accessor: 'username',
id: 'username',
Header: t('Username'),
+ size: 'xxl',
Cell: ({
row: {
original: { username },
@@ -220,6 +223,7 @@ function UsersList({ user }: UsersListProps) {
accessor: 'email',
id: 'email',
Header: t('Email'),
+ size: 'xl',
Cell: ({
row: {
original: { email },
@@ -230,6 +234,7 @@ function UsersList({ user }: UsersListProps) {
accessor: 'active',
id: 'active',
Header: t('Is active?'),
+ size: 'sm',
Cell: ({
row: {
original: { active },
@@ -240,6 +245,7 @@ function UsersList({ user }: UsersListProps) {
accessor: 'roles',
id: 'roles',
Header: t('Roles'),
+ size: 'lg',
Cell: ({
row: {
original: { roles },
@@ -259,6 +265,7 @@ function UsersList({ user }: UsersListProps) {
accessor: 'groups',
Header: t('Groups'),
id: 'groups',
+ size: 'lg',
Cell: ({
row: {
original: { groups },