Further simplify points abbreviation implementation
This commit is contained in:
parent
a7e235441b
commit
80b43d3e0c
2 changed files with 2 additions and 2 deletions
|
@ -1038,7 +1038,7 @@ details[open] .summary::after {
|
|||
}
|
||||
|
||||
@container widget (max-width: 550px) {
|
||||
.forum-post-autohide, .forum-post-abbr-pts {
|
||||
.forum-post-autohide {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
{{- end }}
|
||||
<ul class="list-horizontal-text flex-nowrap text-compact">
|
||||
<li {{ dynamicRelativeTimeAttrs .TimePosted }}></li>
|
||||
<li class="shrink-0">{{ .Score | formatApproxNumber }} p<span class="forum-post-abbr-pts">oin</span>ts</li>
|
||||
<li class="shrink-0">{{ .Score | formatApproxNumber }} p<span class="forum-post-autohide">oin</span>ts</li>
|
||||
<li class="shrink-0{{ if .TargetUrl }} forum-post-autohide{{ end }}">{{ .CommentCount | formatApproxNumber }} comments</li>
|
||||
{{- if .TargetUrl }}
|
||||
<li class="min-width-0"><a class="visited-indicator text-truncate block" href="{{ .TargetUrl }}" target="_blank" rel="noreferrer">{{ .TargetUrlDomain }}</a></li>
|
||||
|
|
Loading…
Add table
Reference in a new issue