diff --git a/src/styles/_api-theme.scss b/src/styles/_api-theme.scss index f90ea6423..411911971 100644 --- a/src/styles/_api-theme.scss +++ b/src/styles/_api-theme.scss @@ -30,7 +30,7 @@ } } - .docs-api-async-method-marker { + .docs-api-modifier-method-marker { $async-method-marker-hue: if($is-dark-theme, 200, 400); background-color: mat.get-color-from-palette($primary, $async-method-marker-hue); color: mat.get-color-from-palette($primary, '#{$async-method-marker-hue}-contrast'); diff --git a/src/styles/_api.scss b/src/styles/_api.scss index b1d824184..a6349251e 100644 --- a/src/styles/_api.scss +++ b/src/styles/_api.scss @@ -85,11 +85,11 @@ font-size: 18px; } -.docs-api-async-method-marker { +.docs-api-modifier-method-marker { display: inline-block; vertical-align: baseline; padding: 2px 7px; - margin: 0 12px 0 0; + margin-right: 12px; border-radius: 5px; font-size: 13px; }