fix(SqlLab): make icon placement even (#25372)

This commit is contained in:
Corbin Bullard
2023-09-28 09:36:24 -04:00
committed by GitHub
parent a0eeb4d767
commit 11b49a6ceb
2 changed files with 8 additions and 1 deletions

View File

@@ -85,7 +85,9 @@ const collapseStyles = (theme: SupersetTheme) => css`
padding: 0px ${theme.gridUnit * 4}px 0px 0px !important;
}
.ant-collapse-arrow {
top: ${theme.gridUnit * 2}px !important;
padding: 0 !important;
bottom: ${theme.gridUnit}px !important;
right: ${theme.gridUnit * 4}px !important;
color: ${theme.colors.primary.dark1} !important;
&:hover {
color: ${theme.colors.primary.dark2} !important;

View File

@@ -259,6 +259,11 @@ const TableElement = ({ table, ...props }: TableElementProps) => {
display: flex;
column-gap: ${theme.gridUnit * 1.5}px;
margin-right: ${theme.gridUnit}px;
& span {
display: flex;
justify-content: center;
width: ${theme.gridUnit * 4}px;
}
`}
>
{keyLink}