Skip to content

Commit

Permalink
Tweak comment
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Oct 26, 2023
1 parent a729c25 commit 451c45a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/viser/client/src/ControlPanel/FloatingPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ FloatingPanel.Contents = function FloatingPanelContents({
<Collapse in={context.expanded}>
<ScrollArea.Autosize mah={context.maxHeight}>
<Box
/* Prevent internals from getting too wide. Hardcoded to match the
/* Prevent internals from getting too wide. Needs to match the
* width of the wrapper element above. */
w={context.width}
>
Expand Down
2 changes: 1 addition & 1 deletion src/viser/client/src/ControlPanel/SidebarPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function SidebarPanel({
>
<Box
/* Prevent DOM reflow, as well as internals from getting too wide.
* Hardcoded to match the width of the wrapper element above. */
* Needs to match the width of the wrapper element above. */
w={width}
>
{children}
Expand Down

0 comments on commit 451c45a

Please sign in to comment.