mirror of
https://github.com/modrinth/code.git
synced 2026-09-04 22:10:15 +00:00
fix: spacing + friends (#6550)
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { MailIcon, SendIcon, UserIcon, UserPlusIcon, XIcon } from '@modrinth/assets'
|
import { MailIcon, SearchIcon, SendIcon, UserIcon, UserPlusIcon, XIcon } from '@modrinth/assets'
|
||||||
import {
|
import {
|
||||||
Avatar,
|
Avatar,
|
||||||
ButtonStyled,
|
ButtonStyled,
|
||||||
@@ -301,11 +301,12 @@ const messages = defineMessages({
|
|||||||
</ButtonStyled>
|
</ButtonStyled>
|
||||||
<StyledInput
|
<StyledInput
|
||||||
v-model="search"
|
v-model="search"
|
||||||
|
:icon="SearchIcon"
|
||||||
type="text"
|
type="text"
|
||||||
:placeholder="formatMessage(messages.searchFriends)"
|
:placeholder="formatMessage(messages.searchFriends)"
|
||||||
clearable
|
clearable
|
||||||
variant="outlined"
|
input-class="!bg-transparent !border !border-solid !border-button-bg !text-primary !placeholder:text-primary"
|
||||||
wrapper-class="flex-1"
|
wrapper-class="flex-1 [&>svg]:!text-primary [&>svg]:!opacity-100"
|
||||||
@keyup.esc="search = ''"
|
@keyup.esc="search = ''"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -154,10 +154,19 @@ onUnmounted(() => {
|
|||||||
>
|
>
|
||||||
{{ project.title }}
|
{{ project.title }}
|
||||||
</AutoLink>
|
</AutoLink>
|
||||||
<span v-if="project.filename" class="truncate text-secondary mb-2">
|
<span
|
||||||
|
v-if="project.filename && (owner || version)"
|
||||||
|
class="truncate text-secondary mb-2"
|
||||||
|
>
|
||||||
{{ project.filename }}
|
{{ project.filename }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
v-if="project.filename && !(owner || version)"
|
||||||
|
class="flex min-h-8 min-w-0 items-center text-secondary"
|
||||||
|
>
|
||||||
|
<span class="truncate">{{ project.filename }}</span>
|
||||||
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="owner || version"
|
v-if="owner || version"
|
||||||
class="flex flex-nowrap items-center gap-2 overflow-hidden text-secondary"
|
class="flex flex-nowrap items-center gap-2 overflow-hidden text-secondary"
|
||||||
|
|||||||
Reference in New Issue
Block a user