Skip to content

Commit 76e4bb2

Browse files
committed
chore: styles
1 parent 946d6b2 commit 76e4bb2

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

src/components/ApiEndpoint/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ export default function ApiEndpoint({ method, title, path, to }: ApiEndpointProp
2222
<a href={to} className={styles.noUnderline}>
2323
<div className={styles.apiEndpoint}>
2424
{ methods[method] }
25-
<div className={styles.title}>
26-
<span>{title}</span>
25+
<div className={styles.content}>
26+
<span className={styles.title}>{title}</span>
2727
<span className={styles.path}>{path}</span>
2828
</div>
2929
</div>

src/components/ApiEndpoint/styles.module.css

+5-2
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,18 @@
5151
background-color: hotpink;
5252
}
5353

54-
.title {
54+
.content {
5555
display: flex;
5656
align-items: center;
5757
gap: 8px;
5858
}
5959

60+
.title {
61+
font-weight: bold;
62+
}
63+
6064
.path {
6165
font-family: "Fira Code", Consolas, monospace;
62-
color: #fff;
6366
font-size: smaller;
6467
opacity: 0.6;
6568
}

src/components/ApiEndpointPath/styles.module.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
}
4343

4444
.baseUrl {
45-
opacity: 0.4;
45+
opacity: 0.6;
4646
font-size: smaller;
4747
}
4848

0 commit comments

Comments
 (0)