mirror of
https://github.com/apache/superset.git
synced 2024-09-16 10:39:55 -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,
|
||||
gridUnit: 4,
|
||||
brandIconMaxWidth: 37,
|
||||
};
|
||||
|
||||
export type SupersetTheme = typeof defaultTheme;
|
||||
|
@ -62,7 +62,7 @@ const StyledHeader = styled.header`
|
||||
padding: ${theme.gridUnit}px ${theme.gridUnit * 2}px ${
|
||||
theme.gridUnit
|
||||
}px ${theme.gridUnit * 4}px;
|
||||
max-width: ${theme.gridUnit * 37}px;
|
||||
max-width: ${theme.gridUnit * theme.brandIconMaxWidth}px;
|
||||
img {
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
|
Loading…
Reference in New Issue
Block a user