Skip to content

Commit

Permalink
enhancement/issue 96 icons positioning and alignment tweaks (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 authored Jan 30, 2025
1 parent a3619bb commit a4e343c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/components/copy-to-clipboard-block/ctc-block.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
float: left;
cursor: pointer;
width: var(--size-fluid-5);
margin: var(--size-4) var(--size-2) var(--size-1) var(--size-2);
margin: var(--size-3) var(--size-1) var(--size-1) var(--size-1);
border-bottom: 2px solid transparent;
padding: var(--size-1);
display: flex;
Expand Down Expand Up @@ -96,6 +96,7 @@

& pre {
border: 2px solid var(--color-white);
margin: var(--size-3) 0 var(--size-2) 0;
}

& .copy-icon {
Expand Down
2 changes: 1 addition & 1 deletion src/components/copy-to-clipboard-block/ctc-block.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const template = document.createElement("template");

const scriptRunnerLogoMapper = {
npm: npmLogo,
yarn: yarnLogo,
pnpm: pnpmLogo,
yarn: yarnLogo,
};

export default class CopyToClipboardBlock extends HTMLElement {
Expand Down

0 comments on commit a4e343c

Please sign in to comment.