mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-11 17:40:05 -04:00
Update EditButton.svelte
This commit is contained in:
parent
bcee31fdcf
commit
350f60cde3
1 changed files with 21 additions and 8 deletions
|
@ -1,5 +1,6 @@
|
|||
<script>
|
||||
import DefaultButton from '~/components/DefaultButton.svelte'
|
||||
import SquareButton from '~/components/SquareButton.svelte'
|
||||
import qs from 'qs'
|
||||
|
||||
export let channel
|
||||
|
@ -51,6 +52,7 @@
|
|||
}
|
||||
</script>
|
||||
|
||||
<div class="hidden md:block">
|
||||
<DefaultButton on:click={goToEdit}>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-4 h-4">
|
||||
<path
|
||||
|
@ -59,3 +61,14 @@
|
|||
</svg>
|
||||
<span>Edit</span>
|
||||
</DefaultButton>
|
||||
</div>
|
||||
|
||||
<div class="block md:hidden">
|
||||
<SquareButton on:click={goToEdit} aria-label="Edit">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-4 h-4">
|
||||
<path
|
||||
d="M21.731 2.269a2.625 2.625 0 00-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 000-3.712zM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 00-1.32 2.214l-.8 2.685a.75.75 0 00.933.933l2.685-.8a5.25 5.25 0 002.214-1.32L19.513 8.2z"
|
||||
/>
|
||||
</svg>
|
||||
</SquareButton>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue