Skip to content

A self-hosted media server and file management system

fix: captions off icon is blury

aminnausin248aa43e0528
diff --git a/resources/js/components/icons/IconCaptionsOff.vue b/resources/js/components/icons/IconCaptionsOff.vue
index c7f19f16..bbf688b6 100644
--- a/resources/js/components/icons/IconCaptionsOff.vue
+++ b/resources/js/components/icons/IconCaptionsOff.vue
@@ -1,13 +1,17 @@
<template>
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24">
<path d="M0 0h24v24H0z" fill="none" />
- <path
- fill="none"
- stroke="currentColor"
- stroke-linecap="round"
- stroke-linejoin="round"
- stroke-width="1.5"
- d="M10.5 5H18a3 3 0 0 1 3 3v8.5M17 11h-.5m2.5 8H6a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3M2 2l20 20M7 11h4m-4 4h2.5"
- />
+ <defs>
+ <mask id="off-mask-captions">
+ <rect width="24" height="24" fill="white" />
+ <path stroke-width="4" d="M3 3l18 18" stroke="black" stroke-linecap="round" stroke-linejoin="round" />
+ </mask>
+ </defs>
+
+ <g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5">
+ <rect width="18" height="14" x="3" y="5" rx="3" ry="3" mask="url(#off-mask-captions)" />
+ <path d="M7 11h4m-4 4h2.5M17 11h-.5" />
+ <path stroke-width="1.5" d="M3 3l18 18" />
+ </g>
</svg>
</template>