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:
@@ -84,7 +84,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
flex-shrink: 0;
|
||||
cursor: pointer;
|
||||
background: ${theme.colors.background.secondary};
|
||||
border-radius: ${theme.shape.borderRadius()};
|
||||
border-radius: ${theme.shape.radius.default};
|
||||
box-shadow: ${theme.shadows.z1};
|
||||
border: 1px solid ${theme.colors.background.secondary};
|
||||
align-items: center;
|
||||
|
||||
@@ -86,7 +86,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
vizBox: css`
|
||||
position: relative;
|
||||
background: none;
|
||||
border-radius: ${theme.shape.borderRadius(1)};
|
||||
border-radius: ${theme.shape.radius.default};
|
||||
cursor: pointer;
|
||||
border: 1px solid ${theme.colors.border.medium};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user