mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-18 14:34:25 +01:00
fix: set min-height for section
This commit is contained in:
@@ -214,7 +214,7 @@ const ColorThemeConfig = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Section title={i18n()('config.display.colorTheme')}>
|
<Section title={i18n()('config.display.colorTheme')}>
|
||||||
<div class="scrollbar flex max-h-[25vh] flex-col overflow-y-scroll rounded-md border border-border">
|
<div class="scrollbar flex flex-col overflow-y-scroll rounded-md border border-border">
|
||||||
<For each={Object.values(colorThemes)}>
|
<For each={Object.values(colorThemes)}>
|
||||||
{(colorTheme) => (
|
{(colorTheme) => (
|
||||||
<button
|
<button
|
||||||
@@ -385,7 +385,7 @@ const EmojiConfig = () => {
|
|||||||
{i18n()('config.customEmoji.addEmoji')}
|
{i18n()('config.customEmoji.addEmoji')}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
<ul class="mt-4 flex max-h-[40vh] flex-wrap overflow-y-scroll border-t border-border">
|
<ul class="mt-4 flex max-h-[40vh] min-h-64 flex-wrap overflow-y-scroll border-t border-border">
|
||||||
<For each={Object.values(config().customEmojis)}>
|
<For each={Object.values(config().customEmojis)}>
|
||||||
{({ shortcode, url }) => {
|
{({ shortcode, url }) => {
|
||||||
const popup = usePopup(() => ({
|
const popup = usePopup(() => ({
|
||||||
@@ -493,7 +493,7 @@ const MuteConfig = () => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Section title={i18n()('config.mute.mutedUsers')} initialOpened={false}>
|
<Section title={i18n()('config.mute.mutedUsers')} initialOpened={false}>
|
||||||
<ul class="flex max-h-[50vh] flex-col overflow-y-scroll">
|
<ul class="flex max-h-[50vh] min-h-64 flex-col overflow-y-scroll">
|
||||||
<For each={config().mutedPubkeys}>
|
<For each={config().mutedPubkeys}>
|
||||||
{(pubkey) => (
|
{(pubkey) => (
|
||||||
<li class="flex items-center border-b border-border">
|
<li class="flex items-center border-b border-border">
|
||||||
@@ -521,7 +521,7 @@ const MuteConfig = () => {
|
|||||||
{i18n()('config.mute.add')}
|
{i18n()('config.mute.add')}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
<ul class="mt-2 flex max-h-[50vh] flex-col overflow-y-scroll border-t border-border">
|
<ul class="mt-2 flex max-h-[50vh] min-h-64 flex-col overflow-y-scroll border-t border-border">
|
||||||
<For each={config().mutedKeywords}>
|
<For each={config().mutedKeywords}>
|
||||||
{(keyword) => (
|
{(keyword) => (
|
||||||
<li class="flex items-center border-b border-border">
|
<li class="flex items-center border-b border-border">
|
||||||
|
|||||||
Reference in New Issue
Block a user