Bugfix: remove select component inner scrollbar (#1458)

In some situations the text in the Select component will be too big,
which will make the inner vertical scrollbar appear. This PR is to hide
the vertical scrollbar.

![截圖 2023-08-04 下午3 06
38](https://github.com/actualbudget/actual/assets/67775387/be6c066d-de44-4944-b02e-5d265c84bc61)
This commit is contained in:
Sean Tsai
2023-08-04 21:49:20 +08:00
committed by GitHub
parent 421aa65e6d
commit b84546826f
2 changed files with 7 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ export default function Select<Value extends string>({
<span
style={{
display: 'flex',
overflowX: 'hidden',
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
maxWidth: `calc(100% - ${arrowSize + 5}px)`,

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [aleetsaiya]
---
In some situations the text in the Select component will be too big, which will make the inner vertical scrollbar appear. This PR is to hide the vertical scrollbar.