small fixes

This commit is contained in:
teldra 2022-06-15 15:20:01 +02:00
parent 4891597e91
commit d13039cfe2
2 changed files with 10 additions and 1 deletions

View File

@ -3,6 +3,11 @@
.list_item { .list_item {
margin-bottom: 5rem; margin-bottom: 5rem;
min-height: 25vh; min-height: 25vh;
&:hover {
.readmore {
text-decoration: underline;
}
}
} }
a { a {
text-decoration: none; text-decoration: none;
@ -25,6 +30,10 @@
font-weight: bold; font-weight: bold;
} }
} }
.readmore {
margin-top: 1em;
text-align: right;
}
} }
@media (min-width: 640px) { @media (min-width: 640px) {

View File

@ -120,7 +120,7 @@
{{ end }} {{ end }}
</div> </div>
{{ if .Truncated }} {{ if .Truncated }}
<div class="readmore" style="margin-top: 1em; text-align: right;"> <div class="readmore">
{{ if i18n "readmore" }}{{ i18n "readmore" }}{{ else }}{{ "read more" }}{{ end }}.. {{ if i18n "readmore" }}{{ i18n "readmore" }}{{ else }}{{ "read more" }}{{ end }}..
</div> </div>
{{ end }} {{ end }}