mirror of
https://github.com/open-webui/open-webui
synced 2025-03-16 18:38:44 +00:00
refac: styling
This commit is contained in:
parent
370f182430
commit
d88cc6007c
@ -68,7 +68,7 @@
|
|||||||
{#if !shareEnabled}
|
{#if !shareEnabled}
|
||||||
<Tooltip content={$i18n.t('Settings')}>
|
<Tooltip content={$i18n.t('Settings')}>
|
||||||
<button
|
<button
|
||||||
class="cursor-pointer px-2 py-2 flex rounded-xl hover:bg-gray-100 dark:hover:bg-gray-850 transition"
|
class="hidden md:flex cursor-pointer px-2 py-2 rounded-xl hover:bg-gray-100 dark:hover:bg-gray-850 transition"
|
||||||
id="open-settings-button"
|
id="open-settings-button"
|
||||||
on:click={async () => {
|
on:click={async () => {
|
||||||
await showSettings.set(!$showSettings);
|
await showSettings.set(!$showSettings);
|
||||||
@ -107,7 +107,7 @@
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="cursor-pointer px-2 py-2 flex rounded-xl hover:bg-gray-100 dark:hover:bg-gray-850 transition"
|
class="hidden md:flex cursor-pointer px-2 py-2 rounded-xl hover:bg-gray-100 dark:hover:bg-gray-850 transition"
|
||||||
>
|
>
|
||||||
<div class=" m-auto self-center">
|
<div class=" m-auto self-center">
|
||||||
<svg
|
<svg
|
||||||
|
@ -187,7 +187,7 @@
|
|||||||
|
|
||||||
{#if $showSidebar}
|
{#if $showSidebar}
|
||||||
<div
|
<div
|
||||||
class=" fixed md:hidden z-10 top-0 right-0 left-0 bottom-0 bg-black/60 w-full min-h-screen h-screen flex justify-center overflow-hidden overscroll-contain"
|
class=" fixed md:hidden z-40 top-0 right-0 left-0 bottom-0 bg-black/60 w-full min-h-screen h-screen flex justify-center overflow-hidden overscroll-contain"
|
||||||
on:mousedown={() => {
|
on:mousedown={() => {
|
||||||
showSidebar.set(!$showSidebar);
|
showSidebar.set(!$showSidebar);
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user