Skip to content

Commit

Permalink
chore: remove duplicate CSS classes
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelmay committed Jun 5, 2024
1 parent 6064a65 commit ea1613a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function createCell(text, copyable) {
wrapper.appendChild(span);
if (copyable) {
wrapper.appendChild(createCopyButton(content));
wrapper.classList.add('flex', 'space-between');
wrapper.classList.add('spread-items');
}
cell.appendChild(wrapper);

Expand Down
12 changes: 0 additions & 12 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ body {
justify-content: space-between;
}

.spread-items > * {
width: fit-content;
}

a:has(svg), a#copyright {
color: #222;
text-decoration: none;
Expand Down Expand Up @@ -175,14 +171,6 @@ input[type=submit] {
padding: 0.25em;
}

.flex {
display: flex;
}

.space-between {
justify-content: space-between;
}

.copy-button {
margin-left: auto;
margin-right: 0.25em;
Expand Down

0 comments on commit ea1613a

Please sign in to comment.