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);
|
||||
}
|
||||
|
||||
|
||||
article {
|
||||
padding: calc(var(--pico-block-spacing-horizontal) / 2);
|
||||
margin-bottom: var(--pico-block-spacing-horizontal);
|
||||
|
@ -72,6 +71,10 @@
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.spacing {
|
||||
margin-bottom: calc(var(--pico-block-spacing-horizontal)/2);
|
||||
}
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{% load bleach_tags %}
|
||||
requested to follow you
|
||||
<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>
|
||||
<span class="action">{% include 'users/profile_actions.html' with show_home=1 identity=event.identity %}</span>
|
||||
<code class="{{ event.identity.id }}_handler"
|
||||
style="cursor:pointer"
|
||||
onmouseleave="$(this).removeAttr('data-tooltip')"
|
||||
onclick="navigator.clipboard.writeText(this.innerText);$(this).data('tooltip','copied');">@{{ event.identity.full_handle }}</code>
|
||||
</div>
|
||||
{{ event.identity.summary|bleach:"a,p,span,br"|default:"<br>" }}
|
||||
{{ event.identity.summary|bleach:"a,p,span,br"|default:"" }}
|
||||
</blockquote>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{% load bleach_tags %}
|
||||
followed you
|
||||
<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>
|
||||
<span class="action">{% include 'users/profile_actions.html' with show_home=1 identity=event.identity %}</span>
|
||||
<code class="{{ event.identity.id }}_handler"
|
||||
style="cursor:pointer"
|
||||
onmouseleave="$(this).removeAttr('data-tooltip')"
|
||||
onclick="navigator.clipboard.writeText(this.innerText);$(this).data('tooltip','copied');">@{{ event.identity.full_handle }}</code>
|
||||
</div>
|
||||
{{ event.identity.summary|bleach:"a,p,span,br"|default:"<br>" }}
|
||||
{{ event.identity.summary|bleach:"a,p,span,br"|default:"" }}
|
||||
</blockquote>
|
||||
|
|
Loading…
Add table
Reference in a new issue