mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
fix(docs-infra): add explicit font styles to docs-primary-btn
Add font family, size and weight to the `.docs-primary-btn`. This guarantees that applying the class to non-button elements, like anchors, will results in the same visual representation.
(cherry picked from commit 91ab7c6dea)
This commit is contained in:
@@ -43,6 +43,12 @@
|
||||
color: transparent;
|
||||
user-select: none;
|
||||
|
||||
// We explicitly apply font styles since the class
|
||||
// may be used for non-button elements (e.g. <a>) as well.
|
||||
font-family: var(--inter-font);
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
|
||||
// border gradient / background
|
||||
--angle: 90deg;
|
||||
background: linear-gradient(
|
||||
|
||||
Reference in New Issue
Block a user