mirror of
https://github.com/aljazceru/njump.git
synced 2026-01-31 03:34:37 +01:00
Review the positioning and design of "See on"
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user