impr: fixes for fonts, cleanup dead features (#563)
* cleanup: use tailwindcss classes * design: de-emphasize unimportant terms in InboxItem * fix: button shadow appearing in situations it shouldnt * cleanup: remove tag rules * fix: fonts not applying correctly * fix: uncentered settings
This commit is contained in:
1 parent
a7159b0526
commit
472b4b9190
15 files changed
+59
-127
No files matched your search
@@ -434,35 +434,11 @@
|
||||
title={$t('settings.app.duplicateTitles.title')}
|
||||
description={$t('settings.app.duplicateTitles.description')}
|
||||
/>
|
||||
<div>
|
||||
<ToggleSetting
|
||||
title={$t('settings.app.titleTags.title')}
|
||||
description={$t('settings.app.titleTags.description')}
|
||||
bind:checked={settings.parseTags}
|
||||
/>
|
||||
<Setting>
|
||||
{#snippet title()}
|
||||
{$t('settings.app.titleTags.rules.title')}
|
||||
{/snippet}
|
||||
<div
|
||||
class="flex flex-col divide-y *:py-2 items-end divide-slate-200 dark:divide-zinc-800"
|
||||
>
|
||||
{#each Object.keys(settings.tagRules) as rule (rule)}
|
||||
<div class="flex flex-row flex-wrap items-center gap-2">
|
||||
<span class="text-lg font-medium">{rule}</span>
|
||||
<MultiSelect
|
||||
bind:selected={settings.tagRules[rule]}
|
||||
options={['blur-sm', 'hide']}
|
||||
optionNames={[
|
||||
$t('settings.app.titleTags.rules.blur-sm'),
|
||||
$t('settings.app.titleTags.rules.hide'),
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
</Setting>
|
||||
</div>
|
||||
<ToggleSetting
|
||||
title={$t('settings.app.titleTags.title')}
|
||||
description={$t('settings.app.titleTags.description')}
|
||||
bind:checked={settings.parseTags}
|
||||
/>
|
||||
</Section>
|
||||
|
||||
<Section id="embeds" title={$t('settings.embeds.title')}>
|
||||
|
||||
@@ -74,7 +74,9 @@
|
||||
class="flex flex-col @md/setting:flex-row items-center gap-2 {itemsClass}"
|
||||
>
|
||||
<div class="flex flex-col gap-0.5 flex-2 w-full shrink-0 min-w-48 {clazz}">
|
||||
<h1 class="font-medium text-base">{@render title?.()}</h1>
|
||||
<h1 class="font-medium text-base">
|
||||
{@render title?.()}
|
||||
</h1>
|
||||
{#if description}
|
||||
<div class="text-slate-600 dark:text-zinc-400 text-sm">
|
||||
{@render description?.()}
|
||||
|
||||
Reference in new issue
Block a user