Spaces:
Running
Running
Commit
•
19ba03f
1
Parent(s):
7ebede6
fix citation, padding
Browse files- src/routes/About.svelte +4 -2
- static/global.css +5 -0
src/routes/About.svelte
CHANGED
@@ -47,15 +47,17 @@
|
|
47 |
</div>
|
48 |
<div class="section">
|
49 |
<h3 class="emphasis">Citing</h3>
|
50 |
-
<pre>
|
|
|
51 |
<code>
|
52 |
@misc{igf-leaderboard,
|
53 |
author = {Dylan Ebert}
|
54 |
title = {IGF Leaderboard}
|
55 |
year = {2024}
|
56 |
publisher = {Hugging Face}
|
57 |
-
howpublished = {https://huggingface.co/spaces/dylanebert/igf}
|
58 |
}
|
59 |
</code>
|
60 |
</pre>
|
|
|
61 |
</div>
|
|
|
47 |
</div>
|
48 |
<div class="section">
|
49 |
<h3 class="emphasis">Citing</h3>
|
50 |
+
<div class="pre-wrapper">
|
51 |
+
<pre>
|
52 |
<code>
|
53 |
@misc{igf-leaderboard,
|
54 |
author = {Dylan Ebert}
|
55 |
title = {IGF Leaderboard}
|
56 |
year = {2024}
|
57 |
publisher = {Hugging Face}
|
58 |
+
howpublished = \url{https://huggingface.co/spaces/dylanebert/igf}
|
59 |
}
|
60 |
</code>
|
61 |
</pre>
|
62 |
+
</div>
|
63 |
</div>
|
static/global.css
CHANGED
@@ -76,6 +76,7 @@ body {
|
|
76 |
flex-direction: column;
|
77 |
margin-left: auto;
|
78 |
margin-right: auto;
|
|
|
79 |
height: 100vh;
|
80 |
overflow: hidden;
|
81 |
position: relative;
|
@@ -98,6 +99,10 @@ body {
|
|
98 |
}
|
99 |
}
|
100 |
|
|
|
|
|
|
|
|
|
101 |
.content {
|
102 |
max-height: 100%;
|
103 |
overflow: auto;
|
|
|
76 |
flex-direction: column;
|
77 |
margin-left: auto;
|
78 |
margin-right: auto;
|
79 |
+
padding: 10px;
|
80 |
height: 100vh;
|
81 |
overflow: hidden;
|
82 |
position: relative;
|
|
|
99 |
}
|
100 |
}
|
101 |
|
102 |
+
.pre-wrapper {
|
103 |
+
overflow-x: auto;
|
104 |
+
}
|
105 |
+
|
106 |
.content {
|
107 |
max-height: 100%;
|
108 |
overflow: auto;
|