diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-09 09:23:27 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-09 09:23:27 +0200 |
commit | 1952a538baa330b13bd11631b3975f7ef1c37e70 (patch) | |
tree | 6b9290aea20b928ea20ce26a73b2d2e380761568 /client/src/app/+accounts | |
parent | 71e3dfda4e2bcc228415c0d66b09a84bb73dddd1 (diff) | |
download | PeerTube-1952a538baa330b13bd11631b3975f7ef1c37e70.tar.gz PeerTube-1952a538baa330b13bd11631b3975f7ef1c37e70.tar.zst PeerTube-1952a538baa330b13bd11631b3975f7ef1c37e70.zip |
Improve responsive account about page
Diffstat (limited to 'client/src/app/+accounts')
-rw-r--r-- | client/src/app/+accounts/account-about/account-about.component.html | 4 | ||||
-rw-r--r-- | client/src/app/+accounts/account-about/account-about.component.scss | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/client/src/app/+accounts/account-about/account-about.component.html b/client/src/app/+accounts/account-about/account-about.component.html index 003a8045e..eae1cb509 100644 --- a/client/src/app/+accounts/account-about/account-about.component.html +++ b/client/src/app/+accounts/account-about/account-about.component.html | |||
@@ -1,10 +1,10 @@ | |||
1 | <div *ngIf="account" class="row"> | 1 | <div *ngIf="account" class="row"> |
2 | <div class="description col-md-6 col-sm-12"> | 2 | <div class="block col-md-6 col-sm-12"> |
3 | <div class="small-title">Description</div> | 3 | <div class="small-title">Description</div> |
4 | <div class="content">{{ getAccountDescription() }}</div> | 4 | <div class="content">{{ getAccountDescription() }}</div> |
5 | </div> | 5 | </div> |
6 | 6 | ||
7 | <div class="stats col-md-6 col-sm-12"> | 7 | <div class="block col-md-6 col-sm-12"> |
8 | <div class="small-title">Stats</div> | 8 | <div class="small-title">Stats</div> |
9 | 9 | ||
10 | <div class="content">Joined {{ account.createdAt | date }}</div> | 10 | <div class="content">Joined {{ account.createdAt | date }}</div> |
diff --git a/client/src/app/+accounts/account-about/account-about.component.scss b/client/src/app/+accounts/account-about/account-about.component.scss index b1be7d4ed..5bcd4b561 100644 --- a/client/src/app/+accounts/account-about/account-about.component.scss +++ b/client/src/app/+accounts/account-about/account-about.component.scss | |||
@@ -1,8 +1,12 @@ | |||
1 | @import '_variables'; | 1 | @import '_variables'; |
2 | @import '_mixins'; | 2 | @import '_mixins'; |
3 | 3 | ||
4 | .small-title { | 4 | .block { |
5 | @include in-content-small-title; | 5 | margin-bottom: 40px; |
6 | 6 | ||
7 | margin-bottom: 20px; | 7 | .small-title { |
8 | @include in-content-small-title; | ||
9 | |||
10 | margin-bottom: 20px; | ||
11 | } | ||
8 | } | 12 | } |