Skip to content

Commit

Permalink
- Fix suggested text overflow
Browse files Browse the repository at this point in the history
- Hide import mode, just confusing
  • Loading branch information
Rustem Mussabekov committed Feb 20, 2025
1 parent 94ce852 commit 3cb3efc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/co/bookmarks/edit/form/collection/suggested.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function Suggestion({ id, onClick }) {
tabIndex='-1'
title={fullPath}
onClick={onClick}>
<span className={s.path}>{shortPath}</span>
<div className={s.path}><span>{shortPath}</span></div>
</Button>
)
}
Expand Down
6 changes: 6 additions & 0 deletions src/co/bookmarks/edit/form/collection/suggested.module.styl
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
overflow: clip
direction: rtl
text-align: left
text-overflow: ellipsis

span {
direction: ltr
unicode-bidi: bidi-override
}
}

.suggestion {
Expand Down
4 changes: 2 additions & 2 deletions src/routes/settings/import/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Header } from '~co/screen/splitview/main'
import { Title, Space } from '~co/common/header'

import File from './file'
import Mode from './mode'
// import Mode from './mode'
import Parcel from './parcel'
import Help from './help'

Expand Down Expand Up @@ -42,7 +42,7 @@ export default function Import() {
<Helmet><title>{t.s('import')}</title></Helmet>

<File />
<Mode />
{/* <Mode /> */}
<Parcel />
</Layout>
</>
Expand Down

0 comments on commit 3cb3efc

Please sign in to comment.