Skip to content

Commit 756463c

Browse files
committed
fix devices styling
1 parent 996c44b commit 756463c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

frontend/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const App: Component = () => {
5454
<Tab>Main</Tab>
5555
<Tab>Info</Tab>
5656
</TabList>
57-
<TabPanel flexGrow="1">
57+
<TabPanel flexGrow="1" maxHeight="calc(100vh - 40px)">
5858
<AppRoutes />
5959
</TabPanel>
6060
<TabPanel>

frontend/Main.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ const Main: Component = () => {
4242
}}
4343
/>
4444
</Flex>
45-
<Box>
46-
<Flex flexWrap="wrap" gap="$5">
45+
<Box overflow="auto" >
46+
<Flex flexWrap="wrap" gap="$5" justifyContent="center">
4747
<For each={instances()}>
4848
{(instance: InstanceData) => (
4949
<Instance instance={instance} setSearch={setSearchAndOpen} />
@@ -53,7 +53,7 @@ const Main: Component = () => {
5353
</Box>
5454
</Flex>
5555
<Box>
56-
<Box position="sticky" top="20px">
56+
<Box>
5757
<Heading level="1" mb="1">Messages</Heading>
5858
<Sidebar search={search} setSearch={setSearchAndOpen} />
5959
</Box>

frontend/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
}
1515
.splitview-container__left {
1616
width: 60%;
17+
min-width: 440px;
1718
display: flex;
1819
overflow: none;
1920
padding: 5px;

0 commit comments

Comments
 (0)