diff options
Diffstat (limited to 'app/static/styles/home.css')
-rw-r--r-- | app/static/styles/home.css | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/app/static/styles/home.css b/app/static/styles/home.css index e2617bd..c875893 100644 --- a/app/static/styles/home.css +++ b/app/static/styles/home.css @@ -1,9 +1,20 @@ .main { height: 100%; position: absolute; - z-index: 1; + z-index: 0; left: 3%; right: 3%; + overflow: hidden; +} + +.feed-post { + height: 100%; + padding: 1px; + display: flex; + position: relative; + flex-wrap: wrap; + overflow: auto; + justify-content: space-around; } .tab-yes { @@ -11,7 +22,6 @@ width: 3%; float: left; position: fixed; - z-index: -1; left: 0; background: var(--yes); } @@ -20,7 +30,6 @@ width: 3%; float: right; position: fixed; - z-index: -1; right: 0; background: var(--no); } @@ -46,11 +55,13 @@ } .post { + max-height: 20%; + max-width: 30%; background: white; border-radius: 14px; padding: 1rem; margin: 1rem; - width: 20%; + overflow: hidden; } .post:hover { @@ -58,4 +69,5 @@ cursor: pointer; transition: 0.8s; color: white; + overflow: auto; } |