From f231a074a99fac58776190e128b9cbb87af2fb61 Mon Sep 17 00:00:00 2001 From: Tony Li Date: Mon, 30 Sep 2024 15:53:02 -0700 Subject: [PATCH] the copy icon is broken. oops. --- components/Code/style.scss | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/components/Code/style.scss b/components/Code/style.scss index d9f503080..bdcf50123 100644 --- a/components/Code/style.scss +++ b/components/Code/style.scss @@ -109,7 +109,6 @@ margin: 0.5em 0.6em 0 0; padding: 0.25em 0.7em; cursor: copy; - font: inherit; color: inherit; color: var(--md-code-text, inherit); border: none; @@ -152,28 +151,16 @@ &:before, &:after { display: inline-block; - font: - normal normal normal 1em/1 'Font Awesome 5 Free', - 'FontAwesome'; - text-rendering: auto; - -webkit-font-smoothing: antialiased; - - line-height: 2; - font-family: 'ReadMe-Icons'; - font-variant-ligatures: discretionary-ligatures; - font-feature-settings: 'liga'; + font-family: 'Font Awesome 6 Pro'; } &:before { - content: '\e6c9'; - font-weight: 800; + content: '\f24d'; transition: 0.3s 0.15s ease; } &:after { - // @todo why are these !important @rafe, you dumbell? - content: '\e942' !important; - font-weight: 900 !important; + content: '\f00c'; position: absolute; top: 50%; left: 50%;