Merge branch 'feature/PDF-link' into 'wip/h3132'

Feature/pdf link

See merge request schihei/arxiv-sanity-lite!2
This commit is contained in:
2023-08-31 11:51:21 +00:00
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ const Paper = props => {
<div class="rel_time">{p.time}</div>
<div class='rel_tags'>{p.tags}</div>
{utag_controls}
{thumb_img}
<a href={'http://arxiv.org/pdf/' + p.id}>{thumb_img}</a>
<div class='rel_abs'>{p.summary}</div>
<div class='rel_more'><a href={similar_url}>similar</a></div>
<div class='rel_inspect'><a href={inspect_url}>inspect</a></div>
+5 -1
View File
@@ -119,7 +119,11 @@ body {
text-decoration: none;
}
.rel more {
font-size: 10px;
font-size
: 10px;
}
.rel_img { /* prevent thumbnail from increasing width (useful on mobile) */
overflow: hidden;
}
#sbox {
width: 100%;