Clamp phone shell horizontal overflow
This commit is contained in:
@@ -690,7 +690,7 @@ const InstanceShell2: Component<InstanceShellProps> = (props) => {
|
|||||||
|
|
||||||
const sessionLayout = (
|
const sessionLayout = (
|
||||||
<div
|
<div
|
||||||
class="session-shell-panels flex flex-col flex-1 min-h-0"
|
class="session-shell-panels flex flex-col flex-1 min-h-0 overflow-x-hidden"
|
||||||
ref={(element) => {
|
ref={(element) => {
|
||||||
setDrawerHost(element)
|
setDrawerHost(element)
|
||||||
measureDrawerHost()
|
measureDrawerHost()
|
||||||
@@ -838,12 +838,12 @@ const InstanceShell2: Component<InstanceShellProps> = (props) => {
|
|||||||
</Toolbar>
|
</Toolbar>
|
||||||
</AppBar>
|
</AppBar>
|
||||||
|
|
||||||
<Box sx={{ display: "flex", flex: 1, minHeight: 0 }}>
|
<Box sx={{ display: "flex", flex: 1, minHeight: 0, overflowX: "hidden" }}>
|
||||||
{renderLeftPanel()}
|
{renderLeftPanel()}
|
||||||
|
|
||||||
<Box
|
<Box
|
||||||
component="main"
|
component="main"
|
||||||
sx={{ flexGrow: 1, minHeight: 0, display: "flex", flexDirection: "column" }}
|
sx={{ flexGrow: 1, minHeight: 0, display: "flex", flexDirection: "column", overflowX: "hidden" }}
|
||||||
class="content-area"
|
class="content-area"
|
||||||
>
|
>
|
||||||
<Show
|
<Show
|
||||||
|
|||||||
Reference in New Issue
Block a user