Skip to content

Commit

Permalink
Increase the size of the bottom sheet handle
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahbedouch committed Jun 30, 2023
1 parent b6c7b6f commit cf2694b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions viser/client/src/ControlPanel/BottomPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export default function BottomPanel({
left: 0,
margin: 0,
overflow: "hidden",
minHeight: "2.5em",
height: "2.5em",
minHeight: "3.5em",
height: "3.5em",
transition: "height 0.3s linear",
"& .expand-icon": {
transform: "rotate(0)",
Expand Down Expand Up @@ -111,7 +111,7 @@ BottomPanel.Handle = function FloatingPanelHandle({
window.removeEventListener(eventNames.move, dragListener);
panel.style.transition = "height 0.3s linear";
if (state.hidden) {
panel.style.height = "2.5em";
panel.style.height = "3.5em";
}
else {
panel.style.height = getHeight(panel) + 'px';
Expand All @@ -129,7 +129,7 @@ BottomPanel.Handle = function FloatingPanelHandle({
theme.colorScheme == "dark"
? theme.colors.dark[5]
: theme.colors.gray[1],
lineHeight: "1.5em",
lineHeight: "2.5em",
cursor: "pointer",
position: "relative",
fontWeight: 400,
Expand All @@ -152,7 +152,7 @@ BottomPanel.Handle = function FloatingPanelHandle({
panel.style.height = getHeight(panel) + 'px';
state.hidden = false;
} else {
panel.style.height = `2.5em`;
panel.style.height = `3.5em`;
state.hidden = true;
}
}}
Expand Down

0 comments on commit cf2694b

Please sign in to comment.