mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-18 14:38:24 +00:00
Some fixes
This commit is contained in:
@@ -147,6 +147,8 @@ function resetStyle () {
|
||||
padding: 12px 24px 24px;
|
||||
border-radius: 12px;
|
||||
margin-bottom: 24px;
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
}
|
||||
.color-input {
|
||||
width: 34px;
|
||||
|
||||
@@ -76,7 +76,7 @@ function navigateToIcon() {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
margin-left: 24px;
|
||||
margin-left: 26px;
|
||||
transform: translate(-50%, 48px) scale(0.9);
|
||||
font-weight: 400;
|
||||
position: absolute;
|
||||
@@ -91,7 +91,10 @@ function navigateToIcon() {
|
||||
pointer-events: none;
|
||||
transition: cubic-bezier(0.19, 1, 0.22, 1) .2s;
|
||||
transition-property: opacity, transform;
|
||||
|
||||
/* max-width: calc((32px * 2) + 56px); */
|
||||
overflow: hidden;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.icon-button:active {
|
||||
|
||||
@@ -92,7 +92,7 @@ onMounted(() => {
|
||||
<template>
|
||||
<Input type="search" placeholder="Search icons..." v-model="searchQuery" class="input-wrapper" ref="searchInput"/>
|
||||
<IconGrid :activeIcon="activeIconName" :icons="paginatedIcons" @setActiveIcon="setActiveIconName"/>
|
||||
<EndOfPage @end-of-page="next"/>
|
||||
<EndOfPage @end-of-page="next" class="bottom-page"/>
|
||||
<IconDetailOverlay :icon="activeIcon" @close="setActiveIconName('')"/>
|
||||
</template>
|
||||
|
||||
@@ -117,4 +117,8 @@ onMounted(() => {
|
||||
.input-wrapper {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.bottom-page {
|
||||
height: 200px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -27,6 +27,7 @@ export default defineConfig({
|
||||
nav: [
|
||||
{ text: 'Icons', link: '/icons/index.md' },
|
||||
{ text: 'Guide', link: '/guide/' },
|
||||
{ text: 'Packages', link: '/packages' },
|
||||
{ text: 'License', link: '/license' },
|
||||
],
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ onMounted(() => {
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<IconCustomizer/>
|
||||
<IconCustomizer v-if="page?.relativePath?.startsWith?.('icons')"/>
|
||||
<CategoryList v-if="page?.relativePath?.startsWith?.('icons')"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user