Skip to content

Commit d8a91f4

Browse files
committed
fix(back-to-top): css tweak
1 parent e6949af commit d8a91f4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

elements/pf-v6-back-to-top/pf-v6-back-to-top.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747
/** Design system brand color for the trigger background. */
4848
background-color: var(--pf-t--global--color--brand--default, #92c5f9);
4949

50+
&[hidden] {
51+
display: none;
52+
}
53+
5054
&:hover {
5155
/** Design system hover text color on brand surfaces. */
5256
color: var(--pf-t--global--text--color--on-brand--hover, #1f1f1f);
@@ -72,10 +76,6 @@
7276
}
7377
}
7478

75-
#trigger[hidden] {
76-
display: none;
77-
}
78-
7979
svg {
8080
vertical-align: -0.125rem;
8181
}

0 commit comments

Comments
 (0)