evade ublock for share button
This commit is contained in:
parent
8291f36660
commit
2d6b23522a
|
|
@ -757,6 +757,9 @@ dialog:has(.notification) {
|
|||
border: none;
|
||||
}
|
||||
|
||||
.share-button {
|
||||
// can't call it share-button since
|
||||
// that triggers uBlock to block it
|
||||
// lol
|
||||
.legal-share-button {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -335,7 +335,7 @@ pub fn PlanPage(PlanPageProps { id }: &PlanPageProps) -> Html {
|
|||
};
|
||||
html! {
|
||||
<>
|
||||
<button onclick={share_cb} class="share-button">{"share"}</button>
|
||||
<button onclick={share_cb} class="legal-share-button">{"share"}</button>
|
||||
<dialog id={SHARE_SUCCESS_ID}>
|
||||
<div class="notification">
|
||||
<p>{"link copied to clipboard"}</p>
|
||||
|
|
|
|||
Loading…
Reference in New Issue