mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-04 03:32:12 +02:00
Locale update patch (#229)
This commit is contained in:
parent
e0a5cfec39
commit
f46c9b0348
12 changed files with 108 additions and 100 deletions
|
@ -51,8 +51,10 @@ const Poll: React.VoidFunctionComponent = () => {
|
|||
Math.floor((width - (minSidebarWidth + actionColumnWidth)) / columnWidth),
|
||||
);
|
||||
|
||||
const sidebarWidth =
|
||||
width - (numberOfVisibleColumns * columnWidth + actionColumnWidth);
|
||||
const sidebarWidth = Math.min(
|
||||
width - (numberOfVisibleColumns * columnWidth + actionColumnWidth),
|
||||
300,
|
||||
);
|
||||
|
||||
const availableSpace = Math.min(
|
||||
numberOfVisibleColumns * columnWidth,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue