diff --git a/src/components/ui/Modal.tsx b/src/components/ui/Modal.tsx
index 2faecdec..69265087 100644
--- a/src/components/ui/Modal.tsx
+++ b/src/components/ui/Modal.tsx
@@ -55,6 +55,11 @@ const ModalContent = styled.div<{ [key in 'attachment' | 'noBackground' | 'borde
margin-top: 0;
}
+ form {
+ display: flex;
+ flex-direction: column;
+ }
+
${ props => !props.noBackground && css`
background: var(--secondary-header);
` }
diff --git a/src/context/intermediate/modals/Input.tsx b/src/context/intermediate/modals/Input.tsx
index fd8d44ec..f25b9921 100644
--- a/src/context/intermediate/modals/Input.tsx
+++ b/src/context/intermediate/modals/Input.tsx
@@ -54,13 +54,15 @@ export function InputModal({
]}
onClose={onClose}
>
- { field ?
- {field}
- : (error && ) }
- setValue(e.currentTarget.value)}
- />
+
);
}
diff --git a/src/pages/RevoltApp.tsx b/src/pages/RevoltApp.tsx
index ad93f0c2..05846604 100644
--- a/src/pages/RevoltApp.tsx
+++ b/src/pages/RevoltApp.tsx
@@ -34,14 +34,15 @@ const Routes = styled.div`
export default function App() {
const path = useLocation().pathname;
const fixedBottomNav = (path === '/' || path === '/settings' || path.startsWith("/friends"));
- const inSettings = path === '/settings';
+ const inSettings = path.includes('/settings');
const inChannel = path.includes('/channel');
+ const inSpecial = path.startsWith('/invite') || path.startsWith("/friends") || path.startsWith("/settings");
return (
}}
+ leftPanel={inSpecial ? undefined : { width: 292, component: }}
rightPanel={(!inSettings && inChannel) ? { width: 240, component: } : undefined}
bottomNav={{
component: ,
diff --git a/src/pages/settings/server/Panes.module.scss b/src/pages/settings/server/Panes.module.scss
index cbf8e5a9..b34d3b78 100644
--- a/src/pages/settings/server/Panes.module.scss
+++ b/src/pages/settings/server/Panes.module.scss
@@ -81,6 +81,7 @@
.overview {
height: 85vh; //TOFIX change later
display: flex;
+
.list {
overflow-y: scroll;
}