Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(home): Show home page tabs as pills instead of links #20257

Merged
merged 7 commits into from
Jun 21, 2022
7 changes: 6 additions & 1 deletion superset-frontend/src/views/components/SubMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ const StyledHeader = styled.div`
${({ theme }) => theme.gridUnit * 4}px;
}

&.active {
prosdev0107 marked this conversation as resolved.
Show resolved Hide resolved
background: ${({ theme }) => theme.colors.secondary.light4};
}

&.active a {
text-decoration: underline;
}
Expand All @@ -122,7 +126,8 @@ const StyledHeader = styled.div`
li > a:hover,
li > a:focus,
li > div:hover,
div > div:hover {
div > div:hover,
div > a:hover {
background: ${({ theme }) => theme.colors.secondary.light4};
border-bottom: none;
border-radius: ${({ theme }) => theme.borderRadius}px;
Expand Down