Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: vote slide #260

Merged
merged 2 commits into from
Jan 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@

box-sizing: border-box;

user-select: none;

transition:
0.5s opacity,
0.5s height;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ function DateFilter({forSearch = undefined, wishesFilter = undefined}: PropsType
style={{height: click ? '136px' : 0, opacity: click ? 1 : 0, padding: click ? '20px 32px' : 0}}
>
{filterData.map((data) => (
<span
style={{opacity: click ? 1 : 0, whiteSpace: 'none'}}
<p
style={{opacity: click ? 1 : 0, whiteSpace: 'none', cursor: 'pointer'}}
onClick={() => {
selectSort(data);
}}
key={data}
>
{data}
</span>
</p>
))}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}

.text {
flex: 1;
width: 100%;

display: flex;
flex-direction: column;
Expand All @@ -42,12 +42,12 @@
transition: 0.3s all linear;

.title {
max-width: calc(100% - 30px);
max-width: 93%;
height: 24px;

white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
text-wrap: nowrap;
@include typography(titleSmall);
}
.info {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ function SearchItem({forSearch, data, categoryChange}: PropsType) {
alt={`${data.title}의 사진`}
style={{opacity: categoryChange ? 0 : 1, padding: data.thumbnail ? 0 : '12px'}}
/>
<p className={styles.text} style={{opacity: categoryChange ? 0 : 1}}>
<div className={styles.text} style={{opacity: categoryChange ? 0 : 1}}>
<span className={styles.title}>{title}</span>
<span className={styles.info}>
{category}·{location}
</span>
</p>
</div>
</div>
{forSearch.placeID !== 'undefined' && <SelectButton data={data} />}
</Link>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
padding: 24px 20px;
}
.slide {
width: 100%;
height: 100%;

display: flex;
Expand Down
Loading