tangled
alpha
login
or
join now
vielle.dev
/
site-archive
0
fork
atom
[Archived] Archived WIP of vielle.dev
0
fork
atom
overview
issues
pulls
pipelines
Reduce height of code headings
vielle.dev
8 months ago
6f6052ab
0fb660cf
verified
This commit was signed with the committer's
known signature
.
vielle.dev
SSH Key Fingerprint:
SHA256:/4bvxqoEh9iMdjAPgcgAgXKZZQTROL3ULiPt6nH9RSs=
+8
-6
2 changed files
expand all
collapse all
unified
split
src
assets
copy.svg
components
blog
CodeHeading.astro
+7
-5
src/assets/copy.svg
···
1
1
<svg
2
2
xmlns="http://www.w3.org/2000/svg"
3
3
-
width="24"
4
4
-
height="24"
5
5
-
viewBox="0 0 24 24"
3
3
+
width="18"
4
4
+
height="18"
5
5
+
viewBox="0 0 18 18"
6
6
fill="none"
7
7
stroke="currentColor"
8
8
stroke-width="2"
···
11
11
class="lucide lucide-copy-icon lucide-copy"
12
12
>
13
13
<title>Copy text</title>
14
14
-
<rect width="14" height="14" x="8" y="8" rx="2" ry="2" />
15
15
-
<path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" />
14
14
+
<rect width="10" height="10" x="6" y="6" rx="2" ry="2" />
15
15
+
<path
16
16
+
d="m 3,12 c -1,0 -1.5,-0.5 -1.5,-1.5 V 3 c 0,-1 0.5,-1.5 1.5,-1.5 h 7 c 0.8,0 1.5,0.5 1.5,1.5"
17
17
+
/>
16
18
</svg>
+1
-1
src/components/blog/CodeHeading.astro
···
74
74
justify-content: space-between;
75
75
align-items: center;
76
76
/* gets overridden by * because why not ig */
77
77
-
padding: 10px !important;
77
77
+
padding: 5px 15px !important;
78
78
position: sticky;
79
79
top: 0;
80
80
left: 0;