From eb04684ed3498720bd0b47cf2870f8fd0ebb87aa Mon Sep 17 00:00:00 2001 From: dario-piotrowicz Date: Mon, 14 Jun 2021 17:57:48 +0100 Subject: [PATCH] fix(docs-infra): make anchor in list item inherit line-height (#42572) in order to have a consistent line-height between list items containing text and list items containing links the anchors should inherit the list item's line-height PR Close #42572 --- aio/src/styles/0-base/_typography.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aio/src/styles/0-base/_typography.scss b/aio/src/styles/0-base/_typography.scss index 09099f334e..797ee135e2 100755 --- a/aio/src/styles/0-base/_typography.scss +++ b/aio/src/styles/0-base/_typography.scss @@ -129,6 +129,10 @@ li { p { margin: 0; } + + a { + line-height: inherit; + } } a {