]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix follow recommendations UI in advanced layout
authorClaire <claire.github-309c@sitedethib.com>
Tue, 11 May 2021 19:16:24 +0000 (21:16 +0200)
committerClaire <claire.github-309c@sitedethib.com>
Wed, 12 May 2021 09:08:37 +0000 (11:08 +0200)
Port 4f747d9f8355f5b226ae29b8d63bd83e3886db58 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
app/javascript/flavours/glitch/features/follow_recommendations/index.js
app/javascript/flavours/glitch/styles/components/columns.scss

index 8165c39a9044487e6b66e8645f67ed0d62844dd1..fee4d875719b1e149f7ade4a9110473df92ee5ea 100644 (file)
@@ -76,7 +76,7 @@ class FollowRecommendations extends ImmutablePureComponent {
 
     return (
       <Column>
-        <div className='scrollable'>
+        <div className='scrollable follow-recommendations-container'>
           <div className='column-title'>
             <Logo />
             <h3><FormattedMessage id='follow_recommendations.heading' defaultMessage="Follow people you'd like to see posts from! Here are some suggestions." /></h3>
index 7f3d27dba2ce0d877d0efca1365bcc9d65f7e91b..ad17ed4b0a254e42aab527ab84dbcd93cdce707c 100644 (file)
   }
 }
 
+.follow-recommendations-container {
+  display: flex;
+  flex-direction: column;
+}
+
 .column-actions {
   display: flex;
-  align-items: center;
+  align-items: start;
   justify-content: center;
   padding: 40px;
   padding-top: 40px;
   padding-bottom: 200px;
+  flex-grow: 1;
+  position: relative;
 
   &__background {
     position: absolute;