adjust notification style
This commit is contained in:
parent
a6e58060c7
commit
f7d7170759
3 changed files with 8 additions and 5 deletions
|
@ -43,7 +43,6 @@
|
||||||
color: var(--pico-primary);
|
color: var(--pico-primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
article {
|
article {
|
||||||
padding: calc(var(--pico-block-spacing-horizontal) / 2);
|
padding: calc(var(--pico-block-spacing-horizontal) / 2);
|
||||||
margin-bottom: var(--pico-block-spacing-horizontal);
|
margin-bottom: var(--pico-block-spacing-horizontal);
|
||||||
|
@ -72,6 +71,10 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.spacing {
|
.spacing {
|
||||||
margin-bottom: calc(var(--pico-block-spacing-horizontal)/2);
|
margin-bottom: calc(var(--pico-block-spacing-horizontal)/2);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{% load bleach_tags %}
|
{% load bleach_tags %}
|
||||||
requested to follow you
|
requested to follow you
|
||||||
<blockquote class="tldr" _="on click toggle .tldr on me">
|
<blockquote class="tldr" _="on click toggle .tldr on me">
|
||||||
<span class="action">{% include 'users/profile_actions.html' with show_home=1 identity=event.identity %}</span>
|
|
||||||
<div>
|
<div>
|
||||||
|
<span class="action">{% include 'users/profile_actions.html' with show_home=1 identity=event.identity %}</span>
|
||||||
<code class="{{ event.identity.id }}_handler"
|
<code class="{{ event.identity.id }}_handler"
|
||||||
style="cursor:pointer"
|
style="cursor:pointer"
|
||||||
onmouseleave="$(this).removeAttr('data-tooltip')"
|
onmouseleave="$(this).removeAttr('data-tooltip')"
|
||||||
onclick="navigator.clipboard.writeText(this.innerText);$(this).data('tooltip','copied');">@{{ event.identity.full_handle }}</code>
|
onclick="navigator.clipboard.writeText(this.innerText);$(this).data('tooltip','copied');">@{{ event.identity.full_handle }}</code>
|
||||||
</div>
|
</div>
|
||||||
{{ event.identity.summary|bleach:"a,p,span,br"|default:"<br>" }}
|
{{ event.identity.summary|bleach:"a,p,span,br"|default:"" }}
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{% load bleach_tags %}
|
{% load bleach_tags %}
|
||||||
followed you
|
followed you
|
||||||
<blockquote class="tldr" _="on click toggle .tldr on me">
|
<blockquote class="tldr" _="on click toggle .tldr on me">
|
||||||
<span class="action">{% include 'users/profile_actions.html' with show_home=1 identity=event.identity %}</span>
|
|
||||||
<div>
|
<div>
|
||||||
|
<span class="action">{% include 'users/profile_actions.html' with show_home=1 identity=event.identity %}</span>
|
||||||
<code class="{{ event.identity.id }}_handler"
|
<code class="{{ event.identity.id }}_handler"
|
||||||
style="cursor:pointer"
|
style="cursor:pointer"
|
||||||
onmouseleave="$(this).removeAttr('data-tooltip')"
|
onmouseleave="$(this).removeAttr('data-tooltip')"
|
||||||
onclick="navigator.clipboard.writeText(this.innerText);$(this).data('tooltip','copied');">@{{ event.identity.full_handle }}</code>
|
onclick="navigator.clipboard.writeText(this.innerText);$(this).data('tooltip','copied');">@{{ event.identity.full_handle }}</code>
|
||||||
</div>
|
</div>
|
||||||
{{ event.identity.summary|bleach:"a,p,span,br"|default:"<br>" }}
|
{{ event.identity.summary|bleach:"a,p,span,br"|default:"" }}
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
Loading…
Add table
Reference in a new issue