mirror of https://github.com/apache/superset.git
fix: Fix style for error modal (#11996)
* Fix style for error alert * Revert test code
This commit is contained in:
parent
7a7da27253
commit
329dcc314e
|
@ -59,6 +59,11 @@ const ErrorModal = styled(Modal)<{ level: ErrorLevel }>`
|
||||||
color: ${({ level, theme }) => theme.colors[level].dark2};
|
color: ${({ level, theme }) => theme.colors[level].dark2};
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
|
|
||||||
|
.ant-modal-header {
|
||||||
|
background-color: ${({ level, theme }) => theme.colors[level].light2};
|
||||||
|
padding: ${({ theme }) => 4 * theme.gridUnit}px;
|
||||||
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
margin-right: ${({ theme }) => 2 * theme.gridUnit}px;
|
margin-right: ${({ theme }) => 2 * theme.gridUnit}px;
|
||||||
}
|
}
|
||||||
|
@ -66,7 +71,6 @@ const ErrorModal = styled(Modal)<{ level: ErrorLevel }>`
|
||||||
.header {
|
.header {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: ${({ level, theme }) => theme.colors[level].light2};
|
|
||||||
font-size: ${({ theme }) => theme.typography.sizes.l}px;
|
font-size: ${({ theme }) => theme.typography.sizes.l}px;
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Reference in New Issue