mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Replace deprecated usage of shape.borderRadius() (#72672)
* properly mark borderRadius() as deprecated, replace borderRadius() with default * undo a couple of changes * use radius.pill in FilterPill
This commit is contained in:
@@ -162,7 +162,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
padding: 0 ${theme.spacing(1, 1, 1)};
|
||||
border: 1px solid ${debugBorder};
|
||||
background: ${theme.isLight ? theme.v1.palette.white : theme.v1.palette.gray05};
|
||||
border-radius: ${theme.shape.borderRadius(1)};
|
||||
border-radius: ${theme.shape.radius.default};
|
||||
width: 100%;
|
||||
min-height: 300px;
|
||||
display: flex;
|
||||
|
||||
@@ -41,7 +41,7 @@ export const TransformationFilter = ({ index, data, config, onChange }: Transfor
|
||||
};
|
||||
|
||||
const getStyles = (theme: GrafanaTheme2) => {
|
||||
const borderRadius = theme.shape.borderRadius();
|
||||
const borderRadius = theme.shape.radius.default;
|
||||
|
||||
return {
|
||||
wrapper: css`
|
||||
|
||||
Reference in New Issue
Block a user