diff options
author | Kim <1877318+kimsible@users.noreply.github.com> | 2020-04-27 14:57:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 14:57:50 +0200 |
commit | 4682468d4d07e0864155dd2b403d93754786ea13 (patch) | |
tree | b45c7ea139b20e2fcffdeb3a00e1b1b431b5d7a3 /client/src/app/+accounts | |
parent | 9181bc0c802bb84aeae9f07b08b59dcd90f486bc (diff) | |
download | PeerTube-4682468d4d07e0864155dd2b403d93754786ea13.tar.gz PeerTube-4682468d4d07e0864155dd2b403d93754786ea13.tar.zst PeerTube-4682468d4d07e0864155dd2b403d93754786ea13.zip |
Fix broken views on mobile and small screens (#2671)
* Fix mobile CSS for my-account-settings
* Fix mobile CSS for my-account-videos
* Fix mobile CSS my-account-video-channels
* Fix mobile CSS for my-account-playlists
* Fix CSS mobile for user-subscriptions header
* Fix CSS mobile my-account-video-channel-edit
* Fix CSS mobile / small view for textarea
* Fix margin-right my-delete-button on inside span
* Fix CSS mobile on accounts page
* Fix indent
* Fix CSS mobile for my-account-notifications
* Fix CSS mobile / small view my-account-videos
* Fix search small-view channels
* Use miniature width for title of video on mobile
* Add dots to ellipsis multilines
* Fix controls and title video width small views
* Fix my-account-playlist small and mobile views
* Fix channels header + account header mobile
* Fix CSS mobile/small view for my-account/subscriptions
* Fix align followers channel item
* Center header elements user account page on mobile
* Fix margins on a element and img
* Fix margin img channel or video
Co-Authored-By: Rigel Kent <par@rigelk.eu>
Co-authored-by: kimsible <kimsible@users.noreply.github.com>
Co-authored-by: Rigel Kent <par@rigelk.eu>
Diffstat (limited to 'client/src/app/+accounts')
-rw-r--r-- | client/src/app/+accounts/account-video-channels/account-video-channels.component.scss | 9 | ||||
-rw-r--r-- | client/src/app/+accounts/accounts.component.scss | 29 |
2 files changed, 37 insertions, 1 deletions
diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss b/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss index a258c7b86..042290809 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss | |||
@@ -29,4 +29,11 @@ | |||
29 | } | 29 | } |
30 | } | 30 | } |
31 | 31 | ||
32 | 32 | @media screen and (max-width: $mobile-view) { | |
33 | .section { | ||
34 | .section-title { | ||
35 | flex-direction: column; | ||
36 | align-items: normal; | ||
37 | } | ||
38 | } | ||
39 | } | ||
diff --git a/client/src/app/+accounts/accounts.component.scss b/client/src/app/+accounts/accounts.component.scss index d0187fe30..12170e371 100644 --- a/client/src/app/+accounts/accounts.component.scss +++ b/client/src/app/+accounts/accounts.component.scss | |||
@@ -56,3 +56,32 @@ my-user-moderation-dropdown, | |||
56 | padding: 5px; | 56 | padding: 5px; |
57 | margin-top: -2px; | 57 | margin-top: -2px; |
58 | } | 58 | } |
59 | |||
60 | @media screen and (max-width: $mobile-view) { | ||
61 | .sub-menu { | ||
62 | .actor { | ||
63 | flex-direction: column; | ||
64 | align-items: center; | ||
65 | |||
66 | img, | ||
67 | .actor-info .actor-names .actor-display-name { | ||
68 | margin-right: 0; | ||
69 | } | ||
70 | |||
71 | .actor-info { | ||
72 | .actor-names { | ||
73 | flex-direction: column; | ||
74 | align-items: center; | ||
75 | } | ||
76 | |||
77 | my-user-moderation-dropdown { | ||
78 | margin-left: 0; | ||
79 | } | ||
80 | |||
81 | .actor-followers { | ||
82 | text-align: center; | ||
83 | } | ||
84 | } | ||
85 | } | ||
86 | } | ||
87 | } | ||