mirror of
https://github.com/urbit/shrub.git
synced 2025-01-02 01:25:55 +03:00
Merge pull request #3866 from tylershuster/sidebar-scrollbar
fixes https://github.com/urbit/landscape/issues/132
This commit is contained in:
commit
31b7c61d9a
@ -23,6 +23,14 @@ import { SidebarList } from "./SidebarList";
|
||||
import { SidebarInvite } from './SidebarInvite';
|
||||
import { roleForShip } from "~/logic/lib/group";
|
||||
|
||||
const ScrollbarLessCol = styled(Col)`
|
||||
scrollbar-width: none !important;
|
||||
|
||||
::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
interface SidebarProps {
|
||||
contacts: Rolodex;
|
||||
@ -98,7 +106,7 @@ export function Sidebar(props: SidebarProps) {
|
||||
const isAdmin = (role === "admin") || (workspace?.type === 'home');
|
||||
|
||||
return (
|
||||
<Col
|
||||
<ScrollbarLessCol
|
||||
display={display}
|
||||
width="100%"
|
||||
gridRow="1/2"
|
||||
@ -161,6 +169,6 @@ export function Sidebar(props: SidebarProps) {
|
||||
</Box>
|
||||
</Link>
|
||||
</Box>
|
||||
</Col>
|
||||
</ScrollbarLessCol>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user