Compare commits

...

2 Commits

Author SHA1 Message Date
Julien Calixte
c21619c53a feat(notes): drop the redundant Close button from share popup
All checks were successful
CI / verify (push) Successful in 1m6s
The backdrop already dismisses the dialog on outside click.
2026-07-11 12:57:44 +02:00
Julien Calixte
b34b5851cd fix(notes): color the share trigger icon with accent
Scoped styles in HeaderNote don't cross into the ShareNote child
component, so text-base-content painted the icon white/black instead
of matching the other header icons.
2026-07-11 12:57:41 +02:00

View File

@@ -55,7 +55,7 @@ const copy = async (url: string, label: string) => {
<template>
<button
class="btn btn-ghost btn-circle text-base-content"
class="btn btn-ghost btn-circle text-accent"
title="Share this view"
aria-label="Share this view"
onclick="share_modal.showModal()"
@@ -148,12 +148,6 @@ const copy = async (url: string, label: string) => {
</span>
</span>
</button>
<div class="modal-action">
<form method="dialog">
<button class="btn btn-ghost">Close</button>
</form>
</div>
</div>
<form method="dialog" class="modal-backdrop">
<button>close</button>