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
476e8f00
Commit
476e8f00
authored
Feb 23, 2024
by
Timothy J. Baek
Browse files
fix: styling
parent
9523ecb8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
29 deletions
+31
-29
src/lib/components/ChangelogModal.svelte
src/lib/components/ChangelogModal.svelte
+31
-29
No files found.
src/lib/components/ChangelogModal.svelte
View file @
476e8f00
...
@@ -60,7 +60,8 @@
...
@@ -60,7 +60,8 @@
<div class="mb-3">
<div class="mb-3">
{#if changelog}
{#if changelog}
{#each Object.keys(changelog) as version}
{#each Object.keys(changelog) as version}
<div class="font-bold text-xl mb-1">
<div class=" mb-3 pr-2">
<div class="font-bold text-xl mb-1 dark:text-white">
v{version} - {changelog[version].date}
v{version} - {changelog[version].date}
</div>
</div>
...
@@ -69,7 +70,7 @@
...
@@ -69,7 +70,7 @@
{#each Object.keys(changelog[version]).filter((section) => section !== 'date') as section}
{#each Object.keys(changelog[version]).filter((section) => section !== 'date') as section}
<div class="">
<div class="">
<div
<div
class="font-bold
capitaliz
e text-xs {section === 'added'
class="font-bold
uppercas
e text-xs {section === 'added'
? 'text-white bg-blue-600'
? 'text-white bg-blue-600'
: section === 'fixed'
: section === 'fixed'
? 'text-white bg-green-600'
? 'text-white bg-green-600'
...
@@ -77,7 +78,7 @@
...
@@ -77,7 +78,7 @@
? 'text-white bg-yellow-600'
? 'text-white bg-yellow-600'
: section === 'removed'
: section === 'removed'
? 'text-white bg-red-600'
? 'text-white bg-red-600'
: ''} w-fit px-3 rounded-full my-
3
"
: ''} w-fit px-3 rounded-full my-
2
"
>
>
{section}
{section}
</div>
</div>
...
@@ -85,15 +86,16 @@
...
@@ -85,15 +86,16 @@
<div class="my-1.5 px-1.5">
<div class="my-1.5 px-1.5">
{#each Object.keys(changelog[version][section]) as item}
{#each Object.keys(changelog[version][section]) as item}
<div class="text-sm mb-2">
<div class="text-sm mb-2">
<div class="font-semibold">
<div class="font-semibold
uppercase
">
{changelog[version][section][item].title}
{changelog[version][section][item].title}
</div>
</div>
<div class="m
y-1.5
">{changelog[version][section][item].content}</div>
<div class="m
b-2 mt-1
">{changelog[version][section][item].content}</div>
</div>
</div>
{/each}
{/each}
</div>
</div>
</div>
</div>
{/each}
{/each}
</div>
{/each}
{/each}
{/if}
{/if}
</div>
</div>
...
...
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