dylanebert HF staff commited on
Commit
19ba03f
1 Parent(s): 7ebede6

fix citation, padding

Browse files
Files changed (2) hide show
  1. src/routes/About.svelte +4 -2
  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&lbrace;igf-leaderboard,
53
  author = &lbrace;Dylan Ebert&rbrace;
54
  title = &lbrace;IGF Leaderboard&rbrace;
55
  year = &lbrace;2024&rbrace;
56
  publisher = &lbrace;Hugging Face&rbrace;
57
- howpublished = &lbrace;https://huggingface.co/spaces/dylanebert/igf&rbrace;
58
  &rbrace;
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&lbrace;igf-leaderboard,
54
  author = &lbrace;Dylan Ebert&rbrace;
55
  title = &lbrace;IGF Leaderboard&rbrace;
56
  year = &lbrace;2024&rbrace;
57
  publisher = &lbrace;Hugging Face&rbrace;
58
+ howpublished = \url&lbrace;https://huggingface.co/spaces/dylanebert/igf&rbrace;
59
  &rbrace;
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;