Skip to content

Commit

Permalink
πŸ’„ : #492 - Dropdown μ»΄ν¬λ„ŒνŠΈ λ‚΄ text κ³ μ • width 및 λ§μ€„μž„ν‘œ μ„€μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
MinwooP committed Mar 29, 2024
1 parent 659b773 commit e5527f6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/components/Dropdown/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,17 @@
justify-content: center;
align-items: center;
position: relative;
padding: 0.5rem 2rem;
padding: 0.5rem 1rem;
border: 1px solid var(--origin-primary);
border-radius: var(--border-radius);
cursor: pointer;

&__text {
text-align: center;
width: 6rem; /* 1rem 크기둜 κ³ μ •λœ div */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 1rem;
line-height: 1rem;
}
Expand Down Expand Up @@ -82,14 +86,14 @@
}
}

.dropdown__remind-option__first{
.dropdown__remind-option__first {
z-index: 13;
}

.dropdown__remind-option__second{
.dropdown__remind-option__second {
z-index: 12;
}

.dropdown__remind-option__third{
.dropdown__remind-option__third {
z-index: 11;
}

0 comments on commit e5527f6

Please sign in to comment.