Skip to content
Snippets Groups Projects
Unverified Commit 4a83f5bc authored by Uladzimir Havenchyk's avatar Uladzimir Havenchyk Committed by GitHub
Browse files

Quick fix for UI glitches caused by changing z-index at dashboards (#33153)

parent 844075c1
No related branches found
No related tags found
No related merge requests found
...@@ -113,7 +113,7 @@ export const ParametersWidgetContainer = styled(FullWidthContainer)<{ ...@@ -113,7 +113,7 @@ export const ParametersWidgetContainer = styled(FullWidthContainer)<{
padding-top: ${space(2)}; padding-top: ${space(2)};
padding-bottom: ${space(1)}; padding-bottom: ${space(1)};
/* z-index should be higher than in dashcards */ /* z-index should be higher than in dashcards */
z-index: 4; z-index: 3;
position: sticky; position: sticky;
top: 0; top: 0;
left: 0; left: 0;
......
...@@ -7,7 +7,7 @@ interface DashboardCardProps { ...@@ -7,7 +7,7 @@ interface DashboardCardProps {
export const DashboardCard = styled.div<DashboardCardProps>` export const DashboardCard = styled.div<DashboardCardProps>`
position: relative; position: relative;
z-index: 2; z-index: 1;
/** /**
* Dashcards are positioned absolutely so each one forms a new stacking context. * Dashcards are positioned absolutely so each one forms a new stacking context.
...@@ -18,7 +18,7 @@ export const DashboardCard = styled.div<DashboardCardProps>` ...@@ -18,7 +18,7 @@ export const DashboardCard = styled.div<DashboardCardProps>`
*/ */
&:hover, &:hover,
&:focus-within { &:focus-within {
z-index: 3; z-index: 2;
} }
.Card { .Card {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment