mirror of
https://github.com/apache/superset.git
synced 2024-09-18 19:49:37 -04:00
chore(style): make brand icon max width customizable (#23081)
This commit is contained in:
parent
a7dac13ded
commit
1324135697
@ -161,6 +161,7 @@ const defaultTheme = {
|
|||||||
},
|
},
|
||||||
transitionTiming: 0.3,
|
transitionTiming: 0.3,
|
||||||
gridUnit: 4,
|
gridUnit: 4,
|
||||||
|
brandIconMaxWidth: 37,
|
||||||
};
|
};
|
||||||
|
|
||||||
export type SupersetTheme = typeof defaultTheme;
|
export type SupersetTheme = typeof defaultTheme;
|
||||||
|
@ -62,7 +62,7 @@ const StyledHeader = styled.header`
|
|||||||
padding: ${theme.gridUnit}px ${theme.gridUnit * 2}px ${
|
padding: ${theme.gridUnit}px ${theme.gridUnit * 2}px ${
|
||||||
theme.gridUnit
|
theme.gridUnit
|
||||||
}px ${theme.gridUnit * 4}px;
|
}px ${theme.gridUnit * 4}px;
|
||||||
max-width: ${theme.gridUnit * 37}px;
|
max-width: ${theme.gridUnit * theme.brandIconMaxWidth}px;
|
||||||
img {
|
img {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
Loading…
Reference in New Issue
Block a user