Merge pull request #13 from barrett-ruth/fix/gist/scroll

styling
This commit is contained in:
Barrett Ruth 2025-11-22 00:17:11 -05:00 committed by GitHub
commit c7e44fc8aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 39 additions and 14 deletions

2
.gitignore vendored
View file

@ -17,3 +17,5 @@ pnpm-debug.log*
.fdignore .fdignore
.gitignore .gitignore
.claude/

View file

@ -1,27 +1,50 @@
html, html {
body {
display: flex;
flex-direction: column;
overscroll-behavior: none;
height: 100vh; height: 100vh;
overflow: hidden; overflow: hidden;
overflow-x: hidden; }
body {
display: grid;
grid-template-rows: auto 1fr auto;
height: 100%;
overflow: hidden;
}
.main {
height: 100%;
overflow: hidden;
} }
.content { .content {
display: flex;
justify-content: space-between;
width: 100%; width: 100%;
} height: 100%;
padding: 40px;
.posts, overflow-x: auto;
.topics { overflow-y: hidden;
padding: 0 40px; box-sizing: border-box;
align-self: center; display: grid;
place-items: center;
} }
.topics { .topics {
font-size: 3em; font-size: 3em;
min-height: 0;
max-height: 100%;
width: 100%;
column-count: 2;
column-gap: 80px;
column-fill: auto;
margin: 0;
padding: 0;
box-sizing: border-box;
}
.topics li:first-child {
margin-top: 0;
}
.topics li:last-child {
margin-bottom: 0;
} }
.posts { .posts {