Skip to content

Commit

Permalink
Added styling for tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Sharma committed Dec 5, 2023
1 parent 9e26a61 commit 9424c0a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions taskRequests/details/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ const renderGithubIssue = async () => {
createCustomElement({
tagName: 'button',
textContent: label?.name,
class: 'card__tag',
}),
),
}),
Expand Down
12 changes: 12 additions & 0 deletions taskRequests/details/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -463,3 +463,15 @@ p:hover {
.card__link_issue {
color: #78716c;
}

.card__tag {
display: block;
padding: 0.5rem 0.75rem;
font-size: 0.8rem;
border: none;
border-radius: 1.25rem;
background: #dbeafe;
font-weight: 500;
font-family: Inter;
margin-right: 0.5rem;
}

0 comments on commit 9424c0a

Please sign in to comment.