Spaces:
Running
Running
Tobias Brugger
commited on
Commit
·
a45d152
1
Parent(s):
5699931
style
Browse files- src/app.css +1 -1
- src/lib/DatasetViewer.svelte +7 -9
src/app.css
CHANGED
|
@@ -40,7 +40,7 @@ h1 {
|
|
| 40 |
}
|
| 41 |
|
| 42 |
#app {
|
| 43 |
-
max-width:
|
| 44 |
margin: 0 auto;
|
| 45 |
padding: 2rem;
|
| 46 |
text-align: center;
|
|
|
|
| 40 |
}
|
| 41 |
|
| 42 |
#app {
|
| 43 |
+
max-width: none;
|
| 44 |
margin: 0 auto;
|
| 45 |
padding: 2rem;
|
| 46 |
text-align: center;
|
src/lib/DatasetViewer.svelte
CHANGED
|
@@ -188,7 +188,9 @@
|
|
| 188 |
{#if selectedTerm1}
|
| 189 |
<div class="definition-box">
|
| 190 |
<h4>Definition:</h4>
|
| 191 |
-
<
|
|
|
|
|
|
|
| 192 |
</div>
|
| 193 |
{/if}
|
| 194 |
<div class="info">
|
|
@@ -210,7 +212,9 @@
|
|
| 210 |
{#if selectedTerm2}
|
| 211 |
<div class="definition-box">
|
| 212 |
<h4>Definition:</h4>
|
| 213 |
-
<
|
|
|
|
|
|
|
| 214 |
</div>
|
| 215 |
{/if}
|
| 216 |
<div class="info">
|
|
@@ -248,7 +252,7 @@
|
|
| 248 |
|
| 249 |
<style>
|
| 250 |
.jurisdiction-comparison {
|
| 251 |
-
max-width:
|
| 252 |
margin: 0 auto;
|
| 253 |
padding: 2rem;
|
| 254 |
color: #333;
|
|
@@ -378,12 +382,6 @@
|
|
| 378 |
min-height: 100px;
|
| 379 |
}
|
| 380 |
|
| 381 |
-
.definition-box p {
|
| 382 |
-
margin: 0;
|
| 383 |
-
line-height: 1.6;
|
| 384 |
-
color: #333;
|
| 385 |
-
}
|
| 386 |
-
|
| 387 |
.info {
|
| 388 |
color: #666;
|
| 389 |
font-size: 0.875rem;
|
|
|
|
| 188 |
{#if selectedTerm1}
|
| 189 |
<div class="definition-box">
|
| 190 |
<h4>Definition:</h4>
|
| 191 |
+
<div class="markdown-content">
|
| 192 |
+
{@html marked(getSelectedDefinition1())}
|
| 193 |
+
</div>
|
| 194 |
</div>
|
| 195 |
{/if}
|
| 196 |
<div class="info">
|
|
|
|
| 212 |
{#if selectedTerm2}
|
| 213 |
<div class="definition-box">
|
| 214 |
<h4>Definition:</h4>
|
| 215 |
+
<div class="markdown-content">
|
| 216 |
+
{@html marked(getSelectedDefinition2())}
|
| 217 |
+
</div>
|
| 218 |
</div>
|
| 219 |
{/if}
|
| 220 |
<div class="info">
|
|
|
|
| 252 |
|
| 253 |
<style>
|
| 254 |
.jurisdiction-comparison {
|
| 255 |
+
max-width: 75%;
|
| 256 |
margin: 0 auto;
|
| 257 |
padding: 2rem;
|
| 258 |
color: #333;
|
|
|
|
| 382 |
min-height: 100px;
|
| 383 |
}
|
| 384 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 385 |
.info {
|
| 386 |
color: #666;
|
| 387 |
font-size: 0.875rem;
|