Slimmed down scene tile details in compact mode. Hiding link icon in tile details when no link is available.

This commit is contained in:
DebaucheryLibrarian 2021-01-18 00:49:00 +01:00
parent 5c8a6b3a70
commit 6e8620fbbb
2 changed files with 14 additions and 2 deletions

View File

@ -57,7 +57,10 @@
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
class="date" class="date"
><Icon icon="share2" />{{ formatDate(release.date, 'MMMM D, YYYY', release.datePrecision) }}</a> ><Icon
v-if="release.url"
icon="share2"
/>{{ formatDate(release.date, 'MMMM D, YYYY', release.datePrecision) }}</a>
<a <a
v-else v-else
@ -124,7 +127,7 @@ export default {
.icon { .icon {
fill: var(--lighten-weak); fill: var(--lighten-weak);
margin: 0 .25rem 0 0; margin: -.1rem .25rem 0 0;
} }
&:hover .icon { &:hover .icon {
@ -167,6 +170,14 @@ export default {
} }
*/ */
.details .favicon {
height: 1.75rem;
}
.date {
padding: .25rem .5rem;
}
.site { .site {
padding: 0 .5rem 0 0; padding: 0 .5rem 0 0;
} }

View File

@ -12,6 +12,7 @@ body {
body { body {
margin: 0; margin: 0;
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
overflow: hidden;
} }
#container { #container {