evade ublock for share button
This commit is contained in:
parent
8291f36660
commit
2d6b23522a
|
|
@ -757,6 +757,9 @@ dialog:has(.notification) {
|
||||||
border: none;
|
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;
|
font-size: 1.5em;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -335,7 +335,7 @@ pub fn PlanPage(PlanPageProps { id }: &PlanPageProps) -> Html {
|
||||||
};
|
};
|
||||||
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}>
|
<dialog id={SHARE_SUCCESS_ID}>
|
||||||
<div class="notification">
|
<div class="notification">
|
||||||
<p>{"link copied to clipboard"}</p>
|
<p>{"link copied to clipboard"}</p>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue