<div class="user-info">
<div class="user-info-username">{{ user.username }}</div>
- <div class="user-info-followers">{{ user.account.followersCount }} subscribers</div>
+ <div class="user-info-followers">{{ user.account?.followersCount }} subscribers</div>
</div>
</div>
$grey-background: #f6f2f2;
$expanded-horizontal-margins: 150px;
+$not-expanded-horizontal-margins: 30px;
$button-height: 30px;
}
.margin-content {
- margin-left: 10px;
- margin-right: 10px;
+ margin-left: $not-expanded-horizontal-margins;
+ margin-right: $not-expanded-horizontal-margins;
}
.sub-menu {
margin-bottom: 30px;
display: flex;
align-items: center;
+ padding-left: $not-expanded-horizontal-margins;
}
// Override some properties if the main content is expanded (no menu on the left)