Skip to content

Commit

Permalink
[frontend] multiple owners/maintainers styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenVoich committed Nov 25, 2024
1 parent ed764a1 commit 85d5f1e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
19 changes: 16 additions & 3 deletions frontend/components/package/PackageRightPanel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@
</div>
{/if}

<a class="fill-user-info" href="https://docs.mops.one/cli/mops-user-set">How to fill user info</a>
<div class="docs-links">
<div><span class="question-mark">?</span> <a class="docs-link" href="https://docs.mops.one/cli/package-owners-and-maintainers">Owners and maintainers</a></div>
<div><span class="question-mark">?</span> <a class="docs-link" href="https://docs.mops.one/cli/mops-user-set">How to fill user info</a></div>
</div>

<div class="quality">
<div class="label">
Expand Down Expand Up @@ -203,8 +206,18 @@
gap: 10px;
}
.fill-user-info {
margin-top: 5px;
.question-mark {
font-size: 14px;
color: gray;
}
.docs-links {
display: flex;
flex-direction: column;
gap: 3px;
}
.docs-link {
font-size: 14px;
opacity: 0.8;
}
Expand Down
6 changes: 6 additions & 0 deletions frontend/components/package/UserCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
text-overflow: ellipsis;
}
.value.with-icon {
display: flex;
align-items: center;
gap: 5px;
}
.github-icon,
.twitter-icon {
width: 20px;
Expand Down

0 comments on commit 85d5f1e

Please sign in to comment.