Updated Placeholder Responsiveness and Added new Placeholders

• Updated:
- Placeholder Responsiveness

• Added:
- new Placeholders
This commit is contained in:
mgabdev
2020-07-29 15:40:47 -05:00
parent 73234ac52b
commit 13127960c4
24 changed files with 256 additions and 89 deletions

View File

@@ -38,7 +38,7 @@ class ProfileInfoPanel extends ImmutablePureComponent {
const Wrapper = noPanel ? Dummy : PanelLayout
if (!account) {
if (!account && !noPanel) {
return (
<Wrapper title={intl.formatMessage(messages.title)}>
<ProfileInfoPanelPlaceholder />

View File

@@ -38,7 +38,7 @@ class ProfileStatsPanel extends ImmutablePureComponent {
return (
<Wrapper>
{
!account &&
!account && !noPanel &&
<ProfileStatsPanelPlaceholder />
}
{

View File

@@ -97,6 +97,7 @@ class WhoToFollowPanel extends ImmutablePureComponent {
showDismiss
key={accountId}
id={accountId}
isSmall={isLoading ? true : undefined}
dismissAction={dismissRelatedSuggestion}
/>
))