Skip to content

Commit

Permalink
feat: improvments to code block
Browse files Browse the repository at this point in the history
  • Loading branch information
onmax committed Mar 20, 2024
1 parent 5149586 commit e62fc69
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .vitepress/theme/components/Doc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,14 @@ const pageName = computed(() =>
<style>
.vp-code-group {
>.tabs {
--uno: bg-neutral-300 px-16 pt-10 flex gap-16 shadow-none;
--uno: bg-neutral-300 px-16 pt-10 flex gap-4 shadow-none z-1 pb-4 text-neutral-800;
label {
--uno: ghost-btn mx-0 px-12 py-6 border-b-0 after:hidden h-max lh-[1] rounded-full;
}
input:focus-visible+label {
--uno: ring-blue ring-1.5 ring-offset-1;
}
input:checked+label {
Expand Down

0 comments on commit e62fc69

Please sign in to comment.