Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
397ea933
Commit
397ea933
authored
Nov 08, 2023
by
Timothy J. Baek
Browse files
feat: modal styling update
parent
2d69cf8c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
src/lib/components/common/Modal.svelte
src/lib/components/common/Modal.svelte
+1
-1
src/routes/+page.svelte
src/routes/+page.svelte
+3
-5
No files found.
src/lib/components/common/Modal.svelte
View file @
397ea933
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
}}
}}
>
>
<div
<div
class="m-auto min-h-52 max-w-full w-[36rem] mx-2 bg-gray-50 dark:bg-gray-900 rounded-l
g
shadow-3xl"
class="m-auto min-h-52 max-w-full w-[36rem] mx-2 bg-gray-50 dark:bg-gray-900 rounded-
3x
l shadow-3xl"
transition:fade={{ delay: 100, duration: 200 }}
transition:fade={{ delay: 100, duration: 200 }}
on:click={(e) => {
on:click={(e) => {
e.stopPropagation();
e.stopPropagation();
...
...
src/routes/+page.svelte
View file @
397ea933
...
@@ -113,7 +113,7 @@
...
@@ -113,7 +113,7 @@
code
.
style
.
borderTopLeftRadius
=
0
;
code
.
style
.
borderTopLeftRadius
=
0
;
let
topBarDiv
=
document
.
createElement
(
'
div
'
);
let
topBarDiv
=
document
.
createElement
(
'
div
'
);
topBarDiv
.
style
.
backgroundColor
=
'
#
343541
'
;
topBarDiv
.
style
.
backgroundColor
=
'
#
202123
'
;
topBarDiv
.
style
.
overflowX
=
'
auto
'
;
topBarDiv
.
style
.
overflowX
=
'
auto
'
;
topBarDiv
.
style
.
display
=
'
flex
'
;
topBarDiv
.
style
.
display
=
'
flex
'
;
topBarDiv
.
style
.
justifyContent
=
'
space-between
'
;
topBarDiv
.
style
.
justifyContent
=
'
space-between
'
;
...
@@ -846,9 +846,9 @@
...
@@ -846,9 +846,9 @@
</div>
</div>
</div>
</div>
<div
class=
" h-full mt-10 mb-
48
w-full flex flex-col"
>
<div
class=
" h-full mt-10 mb-
32
w-full flex flex-col"
>
{#if messages.length == 0}
{#if messages.length == 0}
<div
class=
"m-auto text-center max-w-md pb-2
8
px-2"
>
<div
class=
"m-auto text-center max-w-md pb-
3
2 px-2"
>
<div
class=
"flex justify-center mt-8"
>
<div
class=
"flex justify-center mt-8"
>
<img
src=
"/ollama.png"
class=
"w-16 invert-[80%]"
/>
<img
src=
"/ollama.png"
class=
"w-16 invert-[80%]"
/>
</div>
</div>
...
@@ -1087,8 +1087,6 @@
...
@@ -1087,8 +1087,6 @@
</div>
</div>
<div
class=
"fixed bottom-0 w-full"
>
<div
class=
"fixed bottom-0 w-full"
>
<!-- <hr class=" mb-3 border-gray-600" /> -->
<div
class=
" bg-gradient-to-t from-white/90 dark:from-gray-900 pt-5"
>
<div
class=
" bg-gradient-to-t from-white/90 dark:from-gray-900 pt-5"
>
<div
class=
"max-w-3xl p-2.5 -mb-0.5 mx-auto inset-x-0"
>
<div
class=
"max-w-3xl p-2.5 -mb-0.5 mx-auto inset-x-0"
>
{#if messages.length == 0
&&
suggestions !== 'false'}
{#if messages.length == 0
&&
suggestions !== 'false'}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment