We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8af9da commit 1ca4f8cCopy full SHA for 1ca4f8c
src/components/experimental/Field/InnerWrapper.ts
@@ -1,5 +1,4 @@
1
import styled from 'styled-components';
2
-import { Label } from './Label';
3
4
export const InnerWrapper = styled.div<{ hideLabel?: boolean }>`
5
position: relative;
@@ -13,10 +12,4 @@ export const InnerWrapper = styled.div<{ hideLabel?: boolean }>`
13
12
`
14
padding-top: var(--wave-exp-typescale-label-2-line-height);
15
`}
16
-
17
- /* For browsers that support :has(), we use this as a fallback */
18
- /* stylelint-disable selector-type-case, selector-type-no-unknown */
19
- &:has(${Label}:not(.visually-hidden)) {
20
- padding-top: var(--wave-exp-typescale-label-2-line-height);
21
- }
22
`;
0 commit comments