refac
This commit is contained in:
1 parent
cd9db21c52
commit
b5da50f3df
1 file changed
+3
-3
@@ -88,7 +88,7 @@
|
|||||||
: ' dark:text-gray-400 text-gray-600'} cursor-pointer select-none"
|
: ' dark:text-gray-400 text-gray-600'} cursor-pointer select-none"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
class=" w-full flex"
|
class="min-w-0 flex flex-1"
|
||||||
href="/channels/{channel.id}"
|
href="/channels/{channel.id}"
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
console.log(channel);
|
console.log(channel);
|
||||||
@@ -203,7 +203,7 @@
|
|||||||
</a>
|
</a>
|
||||||
|
|
||||||
{#if ['dm'].includes(channel?.type)}
|
{#if ['dm'].includes(channel?.type)}
|
||||||
<div class="ml-0.5 mr-1 hover-reveal self-center flex items-center dark:text-gray-300">
|
<div class="ml-0.5 mr-1 hover-reveal self-center flex shrink-0 items-center dark:text-gray-300">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="p-0.5 dark:hover:bg-gray-850 rounded-lg touch-auto"
|
class="p-0.5 dark:hover:bg-gray-850 rounded-lg touch-auto"
|
||||||
@@ -228,7 +228,7 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
{:else if $user?.role === 'admin' || channel.user_id === $user?.id}
|
{:else if $user?.role === 'admin' || channel.user_id === $user?.id}
|
||||||
<div class="ml-0.5 mr-1 hover-reveal self-center flex items-center dark:text-gray-300">
|
<div class="ml-0.5 mr-1 hover-reveal self-center flex shrink-0 items-center dark:text-gray-300">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="p-0.5 dark:hover:bg-gray-850 rounded-lg touch-auto"
|
class="p-0.5 dark:hover:bg-gray-850 rounded-lg touch-auto"
|
||||||
|
|||||||
Reference in new issue
Block a user