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