change: js無効時の対応

This commit is contained in:
moris 2024-12-01 21:25:08 +09:00
parent a655161c53
commit 0bdc00d567
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ img {
} }
@media (scripting: none) { @media (scripting: none) {
.js {display: none;} .js {display: none !important;}
} }

View File

@ -85,7 +85,7 @@
<div id='toc'> <div id='toc'>
<Toc toclist={data.heading}></Toc> <Toc toclist={data.heading}></Toc>
</div> </div>
<div class="mi-posts"> <div class="mi-posts js">
<iframe src="https://mi.moris.day/embed/user-timeline/9w7bhjzt2b5z0001?maxHeight=300&rounded=false&border=false" title="moris's posts" data-misskey-embed-id="v1_fe3a992c-ac63-42f9-9339-d657fe56462f" loading="lazy" referrerpolicy="strict-origin-when-cross-origin" style="width:100%; height:300px; border:solid #8884 1px; border-radius:8px; box-sizing:border-box"></iframe> <iframe src="https://mi.moris.day/embed/user-timeline/9w7bhjzt2b5z0001?maxHeight=300&rounded=false&border=false" title="moris's posts" data-misskey-embed-id="v1_fe3a992c-ac63-42f9-9339-d657fe56462f" loading="lazy" referrerpolicy="strict-origin-when-cross-origin" style="width:100%; height:300px; border:solid #8884 1px; border-radius:8px; box-sizing:border-box"></iframe>
</div> </div>
</div> </div>

View File

@ -14,7 +14,7 @@
<div style="margin:4px 0 0 8px;color:#aaaa;font-size:0.85em">Share</div> <div style="margin:4px 0 0 8px;color:#aaaa;font-size:0.85em">Share</div>
<div id="share"> <div id="share">
<button class="link" type="button" on:click={copylink} aria-label="urlをコピー" title="copy url"> <button class="link js" type="button" on:click={copylink} aria-label="urlをコピー" title="copy url">
{#if copyed} {#if copyed}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M620-163 450-333l56-56 114 114 226-226 56 56-282 282Zm220-397h-80v-200h-80v120H280v-120h-80v560h240v80H200q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h167q11-35 43-57.5t70-22.5q40 0 71.5 22.5T594-840h166q33 0 56.5 23.5T840-760v200ZM480-760q17 0 28.5-11.5T520-800q0-17-11.5-28.5T480-840q-17 0-28.5 11.5T440-800q0 17 11.5 28.5T480-760Z"/></svg> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M620-163 450-333l56-56 114 114 226-226 56 56-282 282Zm220-397h-80v-200h-80v120H280v-120h-80v560h240v80H200q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h167q11-35 43-57.5t70-22.5q40 0 71.5 22.5T594-840h166q33 0 56.5 23.5T840-760v200ZM480-760q17 0 28.5-11.5T520-800q0-17-11.5-28.5T480-840q-17 0-28.5 11.5T440-800q0 17 11.5 28.5T480-760Z"/></svg>
{:else} {:else}