Skip to content

Commit 29306d0

Browse files
committed
chore: undo more unrelated format changes
1 parent fa0b70d commit 29306d0

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

docs/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ const config: Config = {
123123
type: 'doc',
124124
docId: 'examples/index',
125125
position: 'left',
126-
},
126+
},
127127
{ to: 'https://cocoindex.io/blogs/', label: 'Blog', position: 'left', target: '_self' },
128128
{
129129
type: 'html',

docs/src/theme/DocCard/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ export default function DocCard({ item }: Props): ReactNode {
6565
const doc = useDocById(item.docId ?? undefined);
6666

6767
// Extract tags from customProps or doc metadata
68-
const tags: string[] | undefined =
69-
(item?.customProps?.tags as string[]) ||
68+
const tags: string[] | undefined =
69+
(item?.customProps?.tags as string[]) ||
7070
undefined;
7171

7272
return (
@@ -78,4 +78,4 @@ export default function DocCard({ item }: Props): ReactNode {
7878
tags={tags}
7979
/>
8080
);
81-
}
81+
}

docs/src/theme/DocCard/styles.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
/* transform: translateY(-2px); */
1111
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
1212
}
13-
13+
1414
.cardTitleContainer {
1515
display: flex;
1616
}
17-
17+
1818
.cardTitle {
1919
font-size: 1rem;
2020
margin-top: 16px;
@@ -53,8 +53,8 @@
5353
border: 1px solid var(--ifm-color-emphasis-300);
5454
background: var(--ifm-background-color);
5555
color: var(--ifm-color-emphasis-700);
56-
transition:
56+
transition:
5757
background 0.15s,
5858
border-color 0.15s,
5959
color 0.15s;
60-
}
60+
}

docs/src/theme/DocCardList/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ export default function DocCardList(props: Props): ReactNode {
8383
</section>
8484
</>
8585
);
86-
}
86+
}

docs/src/theme/DocCardList/styles.module.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
white-space: nowrap;
4040
min-height: 28px;
4141
text-align: center;
42-
transition:
42+
transition:
4343
background 0.15s,
4444
border-color 0.15s,
4545
color 0.15s,
@@ -85,7 +85,7 @@
8585
user-select: none;
8686
min-height: 28px;
8787
text-align: center;
88-
transition:
88+
transition:
8989
background 0.15s,
9090
border-color 0.15s,
9191
color 0.15s,
@@ -122,18 +122,18 @@
122122
padding: 0.25rem 0;
123123
margin-bottom: 1rem;
124124
}
125-
125+
126126
.tagSelectorGrid {
127127
gap: 0.4rem;
128128
}
129-
129+
130130
.tagLabel,
131131
.allTagsLabel {
132132
padding: 0.15rem 0.6rem;
133133
font-size: 0.75rem;
134134
min-height: 24px;
135135
}
136-
136+
137137
.tagSelectorTitle {
138138
font-size: 1rem;
139139
margin-bottom: 0.75rem;
@@ -144,11 +144,11 @@
144144
.tagSelectorContainer {
145145
padding: 0.1rem 0;
146146
}
147-
147+
148148
.tagSelectorGrid {
149149
gap: 0.25rem;
150150
}
151-
151+
152152
.tagLabel,
153153
.allTagsLabel {
154154
padding: 0.12rem 0.5rem;

0 commit comments

Comments
 (0)