mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Use theme.shape.radius.circle everywhere (#70896)
* use theme.shape.radius.circle everywhere * add useTheme2 import
This commit is contained in:
@@ -28,7 +28,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
const common: CSSObject = {
|
||||
width: 8,
|
||||
height: 8,
|
||||
borderRadius: '50%',
|
||||
borderRadius: theme.shape.radius.circle,
|
||||
marginLeft: theme.spacing(1),
|
||||
position: 'relative',
|
||||
top: '-1px',
|
||||
|
||||
@@ -40,7 +40,7 @@ function getStyles(theme: GrafanaTheme2) {
|
||||
height: 10px;
|
||||
background: ${theme.colors.text.disabled};
|
||||
box-shadow: 0 0 2px ${theme.colors.text.disabled};
|
||||
border-radius: 50%;
|
||||
border-radius: ${theme.shape.radius.circle};
|
||||
position: relative;
|
||||
top: 6px;
|
||||
right: 1px;
|
||||
|
||||
Reference in New Issue
Block a user