Browse Source

Fix follow recommendations UI in advanced layout (#16215)

closed-social-v3
Claire 3 years ago
committed by GitHub
parent
commit
4f747d9f83
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions
  1. +1
    -1
      app/javascript/mastodon/features/follow_recommendations/index.js
  2. +8
    -1
      app/javascript/styles/mastodon/components.scss

+ 1
- 1
app/javascript/mastodon/features/follow_recommendations/index.js View 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>

+ 8
- 1
app/javascript/styles/mastodon/components.scss View 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;

Loading…
Cancel
Save