This is an automated email from the ASF dual-hosted git repository. hugh pushed a commit to branch hugh/allow-imgs-via-s2text in repository https://gitbox.apache.org/repos/asf/superset.git
commit 57d159df763210f06fea1c3b5f8b145675fb05ef Author: hughhhh <[email protected]> AuthorDate: Mon Jun 7 13:31:47 2021 -0400 fix some styles --- superset-frontend/src/components/IconButton/index.tsx | 1 - .../src/views/CRUD/data/database/DatabaseModal/index.tsx | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/superset-frontend/src/components/IconButton/index.tsx b/superset-frontend/src/components/IconButton/index.tsx index 711aee9..773b31c 100644 --- a/superset-frontend/src/components/IconButton/index.tsx +++ b/superset-frontend/src/components/IconButton/index.tsx @@ -83,7 +83,6 @@ const StyledBottom = styled.div` background-color: ${({ theme }) => theme.colors.grayscale.light4}; width: 100%; line-height: 1.5em; - overflow: hidden; white-space: no-wrap; text-overflow: ellipsis; diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx index 7b1be56..1e43b04 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx @@ -48,7 +48,6 @@ import { DatabaseForm, CONFIGURATION_METHOD, } from 'src/views/CRUD/data/database/types'; -import Label from 'src/components/Label'; import ExtraOptions from './ExtraOptions'; import SqlAlchemyForm from './SqlAlchemyForm'; import DatabaseConnectionForm from './DatabaseConnectionForm'; @@ -345,7 +344,6 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({ <span className="available-label"> Or choose from a list of other databases we support{' '} </span> - <Label className="label-available-select">supported databases</Label> <Select style={{ width: '100%' }} onChange={setDatabaseModel} @@ -366,7 +364,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({ ?.filter((db: DatabaseForm) => db.preferred) .map((database: DatabaseForm) => ( <IconButton - icon="preferred-item" + className="preferred-item" onClick={() => setDatabaseModel(database.engine)} buttonText={database.name} icon={getPreferredImage('postgresql')}
