summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--styles.less29
1 files changed, 14 insertions, 15 deletions
diff --git a/styles.less b/styles.less
index b1938ea..98bf87f 100644
--- a/styles.less
+++ b/styles.less
@@ -3,13 +3,20 @@ body {
     /* why */
     margin: 0;
 	height: 100vh;
-}
-
-.main {
-	height: 100%;
-	width: 100%;
-	line-break: anywhere;
-	word-break: break-all;
+	display: flex;
+	flex-direction: column;
+	.topbar {
+		background: white;
+		display: flex;
+		justify-content: space-between;
+	}
+	.main {
+		flex-grow: 1;
+		width: 100%;
+		overflow: auto;
+		line-break: anywhere;
+		word-break: break-all;
+	}
 }
 
 .channel {
@@ -24,14 +31,6 @@ body {
 	flex-grow: 1;
 }
 
-.topbar {
-	background: white;
-	position: sticky;
-	top: 0;
-	display: flex;
-	justify-content: space-between;
-}
-
 .topbar.hidden {
 	display: none;
 }