]> cat aescling's git repositories - mastodon.git/commitdiff
Fix follow recommendations UI in advanced layout (#16215)
authorClaire <claire.github-309c@sitedethib.com>
Tue, 11 May 2021 19:16:24 +0000 (21:16 +0200)
committerGitHub <noreply@github.com>
Tue, 11 May 2021 19:16:24 +0000 (21:16 +0200)
app/javascript/mastodon/features/follow_recommendations/index.js
app/javascript/styles/mastodon/components.scss

index a35ff3e82443ce1b54b0fc79be9306ffffc0bbe5..26c8b24716e76dc4e4dd8aaeff2d8310cd9415b2 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 f1f97574629e2954f2822f8ef3576aa73fcbdc37..b0216f5aba2f3d893b20a3a376d87b20aa144d87 100644 (file)
@@ -2508,13 +2508,20 @@ a.account__display-name {
   }
 }
 
+.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;