Skip to content

Commit

Permalink
update private tag UI
Browse files Browse the repository at this point in the history
  • Loading branch information
youngbeom-shin committed Sep 24, 2024
1 parent 0281e64 commit 8d86305
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/endpoints/EndpointPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{{ $t('endpoints.detail.parameters') }}
</p>
<p class="flex items-center gap-[8px] w-[390px] lg:w-[370px] mlg:w-full h-[35px] leading-[18px] text-[#909399] text-xs overflow-hidden text-ellipsis line-clamp-2 text-left">
<div v-if="private" class="border border-[#DCDFE6] px-3 py-[2px] text-center text-xs text-[#606266] font-medium rounded">
<div v-if="private" class="border border-[#D0D5DD] bg-white px-3 py-[2px] text-center text-xs text-[#344054] font-medium rounded">
{{ $t("all.private") }}
</div>
<div class="flex gap-[4px]">
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/shared/RepoHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}}</span>
<div
v-if="repoDetailStore.isPrivate"
class="border border-[#DCDFE6] px-3 py-[2px] text-center text-xs text-[#606266] font-medium rounded"
class="border border-[#D0D5DD] bg-white px-3 py-[2px] text-center text-xs text-[#344054] font-medium rounded"
>
{{ $t('all.private') }}
</div>
Expand Down Expand Up @@ -56,7 +56,7 @@
}}</span>
<div
v-if="repoDetailStore.isPrivate"
class="border border-[#DCDFE6] px-3 py-[2px] text-center text-xs text-[#606266] font-medium rounded"
class="border border-[#D0D5DD] bg-white px-3 py-[2px] text-center text-xs text-[#344054] font-medium rounded"
>
{{ $t('all.private') }}
</div>
Expand Down Expand Up @@ -103,7 +103,7 @@
}}</span>
<div
v-if="repoDetailStore.isPrivate"
class="border border-[#DCDFE6] px-3 py-[2px] text-center text-xs text-[#606266] font-medium rounded"
class="border border-[#D0D5DD] bg-white px-3 py-[2px] text-center text-xs text-[#344054] font-medium rounded"
>
{{ $t('all.private') }}
</div>
Expand Down

0 comments on commit 8d86305

Please sign in to comment.