style: lint fix

This commit is contained in:
pengzhanbo 2025-08-20 03:14:15 +08:00
parent 22a5f10add
commit 89314f4cb4
7 changed files with 6 additions and 8 deletions

View File

@ -118,7 +118,7 @@ onUnmounted(() => {
color: transparent;
text-align: left;
word-break: normal;
word-wrap: normal;
overflow-wrap: normal;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;

View File

@ -95,7 +95,7 @@ const { tags, currentTag, postList, handleTagClick } = useTags()
font-size: 14px;
line-height: 1;
color: var(--vp-tag-color);
word-wrap: break-word;
overflow-wrap: break-word;
cursor: pointer;
background-color: var(--vp-tag-bg);
border: 1px solid var(--vp-tag-bg);

View File

@ -189,7 +189,7 @@ const showFooter = computed(() => {
.prev-next {
display: grid;
grid-row-gap: 8px;
row-gap: 8px;
padding-top: 24px;
margin-top: 10px;
border-top: 1px solid var(--vp-c-divider);
@ -199,7 +199,7 @@ const showFooter = computed(() => {
@media (min-width: 640px) {
.prev-next {
grid-template-columns: repeat(2, 1fr);
grid-column-gap: 16px;
column-gap: 16px;
}
}

View File

@ -58,7 +58,6 @@ function focusOnTargetAnchor({ target }: Event) {
.vp-skip-link:focus {
width: auto;
height: auto;
clip: auto;
clip-path: none;
}

View File

@ -97,7 +97,7 @@ defineProps<{
display: inline-block;
flex: 1 2;
min-width: 0;
word-wrap: break-word;
overflow-wrap: break-word;
}
.vpi-arrow-right {

View File

@ -88,7 +88,7 @@ html:not([data-theme="dark"]) .vp-code span {
/* rtl:ignore */
text-align: left;
word-break: normal;
word-wrap: normal;
overflow-wrap: normal;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;

View File

@ -3,7 +3,6 @@
width: 1px;
height: 1px;
overflow: hidden;
clip: rect(0 0 0 0);
clip-path: inset(50%);
white-space: nowrap;
}