Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions apps/frontend/src/pages/[type]/[id]/settings/server.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,13 @@
>Languages <span class="font-normal text-secondary">(optional)</span></span
>
</label>
<Multiselect
<MultiSelect
id="server-language"
v-model="languages"
:options="languageOptions.map((l) => l.value)"
:custom-label="(code) => languageOptions.find((l) => l.value === code)?.label ?? code"
:multiple="true"
:searchable="true"
:show-labels="false"
:close-on-select="false"
:options="languageOptions"
searchable
include-select-all-option
:maxTagRows="2"
placeholder="Select languages"
:disabled="!hasPermission"
/>
Expand Down Expand Up @@ -166,10 +164,10 @@ import {
injectModrinthClient,
injectNotificationManager,
injectProjectPageContext,
MultiSelect,
StyledInput,
UnsavedChangesPopup,
} from '@modrinth/ui'
import { Multiselect } from 'vue-multiselect'

import CompatibilityCard from '~/components/ui/project-settings/CompatibilityCard.vue'

Expand Down
4 changes: 2 additions & 2 deletions packages/assets/styles/defaults.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ h3 {
}

::-webkit-scrollbar-thumb {
background: var(--color-button-bg);
background: var(--color-scrollbar);
}

// Firefox scrollbar
* {
scrollbar-width: thin;
scrollbar-color: var(--color-button-bg) transparent;
scrollbar-color: var(--color-scrollbar) transparent;
}
2 changes: 1 addition & 1 deletion packages/assets/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ html {

--color-button-bg: var(--surface-4);
--color-button-border: rgba(193, 190, 209, 0.12);
--color-scrollbar: var(--color-button-bg);
--color-scrollbar: var(--surface-5);

--color-divider: var(--color-button-bg);
--color-divider-dark: #646c75;
Expand Down
Loading