Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: copy button icons #982

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 3 additions & 16 deletions components/Code/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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%;
Expand Down
Loading