Skip to content

Commit

Permalink
Fix text overflow issue with long search history entries
Browse files Browse the repository at this point in the history
  • Loading branch information
kommunarr committed Dec 29, 2024
1 parent 15aec12 commit ea73ad1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion src/renderer/components/ft-input/ft-input.css
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ body[dir='rtl'] .ft-input-component.search.showClearTextButton:focus-within .inp
}

.list li {
display: block;
display: flex;
justify-content: space-between;
padding-block: 0;
line-height: 2rem;
padding-inline: 15px;
Expand Down
14 changes: 8 additions & 6 deletions src/renderer/components/ft-input/ft-input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,14 @@
@mouseenter="searchState.selectedOption = index"
@mouseleave="searchState.selectedOption = -1; removeButtonSelectedIndex = -1"
>
<font-awesome-icon
v-if="dataListProperties[index]?.iconName"
:icon="['fas', dataListProperties[index].iconName]"
class="searchResultIcon"
/>
<span>{{ entry }}</span>
<div>
<font-awesome-icon
v-if="dataListProperties[index]?.iconName"
:icon="['fas', dataListProperties[index].iconName]"
class="searchResultIcon"
/>
<span>{{ entry }}</span>
</div>
<a
v-if="dataListProperties[index]?.isRemoveable"
class="removeButton"
Expand Down

0 comments on commit ea73ad1

Please sign in to comment.