mirror of
https://github.com/open-webui/open-webui
synced 2025-05-17 12:03:41 +00:00
refac: styling
This commit is contained in:
parent
f6a54c96bc
commit
5e548fa7b8
@ -15,9 +15,7 @@
|
|||||||
|
|
||||||
<Tooltip content="Home" placement="right">
|
<Tooltip content="Home" placement="right">
|
||||||
<button
|
<button
|
||||||
class=" cursor-pointer bg-gray-100 dark:bg-gray-850 {selected === 'home'
|
class=" cursor-pointer {selected === 'home' ? 'rounded-2xl' : 'rounded-full'}"
|
||||||
? 'rounded-2xl'
|
|
||||||
: 'rounded-full'}"
|
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
selected = 'home';
|
selected = 'home';
|
||||||
}}
|
}}
|
||||||
@ -42,13 +40,13 @@
|
|||||||
{/if}
|
{/if}
|
||||||
<button
|
<button
|
||||||
class=" cursor-pointer bg-transparent"
|
class=" cursor-pointer bg-transparent"
|
||||||
onclick={() => {
|
on:click={() => {
|
||||||
selected = '';
|
selected = '';
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src="/assets/images/adam.jpg"
|
src="/static/favicon.png"
|
||||||
class="size-11 {selected === '' ? 'rounded-2xl' : 'rounded-full'}"
|
class="size-10 {selected === '' ? 'rounded-2xl' : 'rounded-full'}"
|
||||||
alt="logo"
|
alt="logo"
|
||||||
draggable="false"
|
draggable="false"
|
||||||
/>
|
/>
|
||||||
@ -56,8 +54,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex justify-center relative group text-gray-400">
|
<div class="flex justify-center relative group text-gray-400">
|
||||||
<button class=" cursor-pointer p-2" onclick={() => {}}>
|
<button class=" cursor-pointer p-2" on:click={() => {}}>
|
||||||
<Plus className="size-5" strokeWidth="2" />
|
<Plus className="size-4" strokeWidth="2" />
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user