Review the positioning and design of "See on"

This commit is contained in:
Daniele Tonon
2023-10-03 16:24:20 +02:00
parent a85c5fa479
commit 6e9bfc7e62
3 changed files with 21 additions and 4 deletions

View File

@@ -478,19 +478,27 @@ iframe {
}
.container .column_content .field {
margin-bottom: 1.5rem;
line-height: 1.3rem;
}
.container .column_content .field a {
padding-bottom: 0.05rem;
margin-right: 0.2rem;
text-decoration: none;
}
.theme--default .container .column_content .field a {
color: #373737;
border-bottom: 1px solid rgba(55, 55, 55, 0.24);
}
.theme--default .container .column_content .field a:hover {
color: #e32a6d;
}
.theme--dark .container .column_content .field a {
color: #fafafa;
border-bottom: 1px solid rgba(250, 250, 250, 0.24);
}
.theme--dark .container .column_content .field a:hover {
color: #e32a6d;
}
.container .column_content .field a.nostr {
border-bottom: none;
}

View File

@@ -470,10 +470,15 @@ iframe {
}
.field {
margin-bottom: 1.5rem;
line-height: 1.3rem;
a {
padding-bottom: 0.05rem;
margin-right: 0.2rem;
text-decoration: none;
@include themed() {
&:hover {
color: $color-accent1;
}
color: t($base7);
border-bottom: 1px solid rgba(t($base7), 0.24);
}

View File

@@ -91,10 +91,6 @@
{{ if .parentNevent }} In reply to {{ printf "%s%s" "nostr:"
.parentNevent | escapeString | basicFormatting }} {{ end }}
</div>
<div class="reply_of">
{{ if .seenOn }} Seen on {{ range .seenOn }}
<a href="/r/{{.}}">{{.}}</a> {{ end }} {{ end }}
</div>
<div class="field separator"></div>
@@ -117,6 +113,14 @@
{{.npub | escapeString}}
</div>
{{ if .seenOn }}
<div class="field">
<div class="label">Seen on</div>
{{ range .seenOn }}<a href="/r/{{.}}">{{.}}</a>
{{ end }}
</div>
{{ end }}
<div class="field advanced-switch-wrapper">
<input
type="checkbox"