From cb78c66c0d7e1646a9725784ba29524d4891bcce Mon Sep 17 00:00:00 2001 From: Inian Date: Fri, 19 Aug 2022 17:13:23 +0800 Subject: [PATCH] fix css at the right place --- about/src/css/custom.css | 1 - apps/reference/src/css/components/_methodLists.scss | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/about/src/css/custom.css b/about/src/css/custom.css index 6b286b60d87..01b3ef754fe 100755 --- a/about/src/css/custom.css +++ b/about/src/css/custom.css @@ -1036,7 +1036,6 @@ h4.method-list-item-label .method-list-item-label-name { padding: var(--ifm-code-padding-vertical) 0; } h4.method-list-item-label .method-list-item-label-badge { - overflow-wrap: anywhere; font-family: var(--ifm-font-family-monospace); font-size: 0.8rem; padding: 0 5px; diff --git a/apps/reference/src/css/components/_methodLists.scss b/apps/reference/src/css/components/_methodLists.scss index 02fb4e0390e..2fe1da7c348 100644 --- a/apps/reference/src/css/components/_methodLists.scss +++ b/apps/reference/src/css/components/_methodLists.scss @@ -33,6 +33,7 @@ h4.method-list-item-label .method-list-item-label-name { } h4.method-list-item-label .method-list-item-label-badge { + overflow-wrap: anywhere; font-family: var(--ifm-font-family-monospace); color: var(--ifm-font-color-base); font-size: var(--custom-font-size-xs);