Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we actually need those styles? It looks like the arrow is correctly centred when you just remove the padding (see screenshot).

image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I wish we could clean up those !important statements... but we can leave that for another PR/task

color: ${theme.colors.primary.dark1} !important;
&:hover {
color: ${theme.colors.primary.dark2} !important;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down