[CARDS][Note] Add permalink to extra note actions
This commit is contained in:
parent
a1d9909379
commit
feb2631f00
@ -180,8 +180,12 @@ embed header {
|
||||
box-shadow: var(--shadow);
|
||||
width: max-content;
|
||||
}
|
||||
.note-actions-extra-details[open] > summary + * > li:not(:last-of-type) {
|
||||
margin-bottom: var(--s);
|
||||
.note-actions-extra-details[open] > summary + * > li {
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
.note-actions-extra-details hr {
|
||||
margin: 8px !important;
|
||||
}
|
||||
.note-actions-set {
|
||||
opacity: 1 !important;
|
||||
|
@ -8,6 +8,10 @@
|
||||
{{ icon('kebab', 'icon icon-note-actions-extra') | raw }} {# button-container #}
|
||||
</summary>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="{{ note.getUrl() }}">{{ 'Permalink' | trans }}</a>
|
||||
</li>
|
||||
<hr>
|
||||
{% for current_action in get_extra_note_actions(note) %}
|
||||
<li>
|
||||
<a class="{{ current_action["classes"] }}"
|
||||
|
Loading…
Reference in New Issue
Block a user