File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,9 @@ export const styleDefenderCSS = css`
4646 }
4747`
4848
49- export const StyleDefender = styled . div `
49+ export const StyleDefender = styled . div . attrs (
50+ ( { className = 'looker-components-reset' } ) => ( { className } )
51+ ) `
5052 background: ${ ( { theme } ) => theme . colors . background } ;
5153
5254 ${ styleDefenderCSS }
Original file line number Diff line number Diff line change @@ -59,7 +59,13 @@ export const Legend = styled.legend
5959 } )
6060 ) < LegendProps > `
6161 ${ reset }
62+ border: none;
6263 ${ color }
6364 ${ space }
6465 ${ typography }
6566`
67+
68+ /**
69+ * `border: none;` override is a product-targeted fix
70+ * @TODO - Remove targeted fix when mitigated downstream
71+ **/
Original file line number Diff line number Diff line change @@ -98,7 +98,9 @@ Portal.displayName = 'Portal'
9898 * DOM-output so it re-injects `styleDefenderCSS` to do a light-weight
9999 * "CSS reset"
100100 */
101- const InvisiBox = styled . div < PortalPlacementProps > `
101+ const InvisiBox = styled . div . attrs (
102+ ( { className = 'looker-components-reset' } ) => ( { className } )
103+ ) < PortalPlacementProps > `
102104 ${ styleDefenderCSS }
103105
104106 align-items: ${ ( { vertical } ) =>
You can’t perform that action at this time.
0 commit comments