diff --git a/fluxer_app/src/components/popouts/ChannelPinsPopout.module.css b/fluxer_app/src/components/popouts/ChannelPinsPopout.module.css
index 2f823ba7..32e6eb77 100644
--- a/fluxer_app/src/components/popouts/ChannelPinsPopout.module.css
+++ b/fluxer_app/src/components/popouts/ChannelPinsPopout.module.css
@@ -18,12 +18,14 @@
*/
.container {
+ --pins-popout-max-height: min(calc(100vh - 120px), 720px);
+ --pins-popout-header-height: 68px;
position: relative;
display: flex;
- max-height: min(calc(100vh - 120px), 720px);
- min-height: 200px;
width: 480px;
flex-direction: column;
+ min-height: 200px;
+ max-height: var(--pins-popout-max-height);
overflow: hidden;
border-radius: var(--radius-md);
border: 1px solid var(--background-header-secondary);
@@ -36,6 +38,17 @@
align-items: center;
gap: 0.25rem;
padding: 1rem;
+ min-height: var(--pins-popout-header-height);
+}
+
+.body {
+ flex: 1 1 0%;
+ display: flex;
+ flex-direction: column;
+ height: 100%;
+ min-height: 0;
+ overflow: hidden;
+ max-height: calc(var(--pins-popout-max-height) - var(--pins-popout-header-height));
}
.title {
diff --git a/fluxer_app/src/components/popouts/ChannelPinsPopout.tsx b/fluxer_app/src/components/popouts/ChannelPinsPopout.tsx
index 20a518a0..0ed2554e 100644
--- a/fluxer_app/src/components/popouts/ChannelPinsPopout.tsx
+++ b/fluxer_app/src/components/popouts/ChannelPinsPopout.tsx
@@ -32,7 +32,9 @@ export const ChannelPinsPopout = observer(({channel}: {channel: ChannelRecord})