projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac862a8
)
Fix responsive in my channel/my videos pages
author
Chocobozzz
<me@florianbigard.com>
Mon, 16 Jul 2018 13:17:50 +0000
(15:17 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Mon, 16 Jul 2018 13:17:50 +0000
(15:17 +0200)
client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
patch
|
blob
|
history
client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
patch
|
blob
|
history
client/src/sass/include/_mixins.scss
patch
|
blob
|
history
diff --git
a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
index 56a637a82291f34adc0365da7e6c95fec9914361..f047bb4110569f9216ae912ed9c0a3c3e7cbc25f 100644
(file)
--- a/
client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
+++ b/
client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss
@@
-56,11
+56,19
@@
}
@media screen and (max-width: 800px) {
+ .video-channels-header {
+ text-align: center;
+ }
+
.video-channel {
flex-direction: column;
height: auto;
text-align: center;
+ .video-channel-names {
+ justify-content: center;
+ }
+
img {
margin-right: 0;
}
diff --git
a/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
b/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
index 1f22aec71bbda9a97006a59f0bf9f00de54533cb..65c0c8bb2fb7192aae89478f0335682e5cdda882 100644
(file)
--- a/
client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
+++ b/
client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
@@
-100,6
+100,10
@@
height: auto;
text-align: center;
+ .video-info-name {
+ margin: auto;
+ }
+
input[type=checkbox] {
display: none;
}
diff --git
a/client/src/sass/include/_mixins.scss
b/client/src/sass/include/_mixins.scss
index 3904751c228c3486d6a8693943ade089dbd172e2..9f8346950181dbb3bae0c4d7073bcdc3d1e12656 100644
(file)
--- a/
client/src/sass/include/_mixins.scss
+++ b/
client/src/sass/include/_mixins.scss
@@
-411,9
+411,11
@@
@include orange-button;
.icon.icon-add {
- @include icon(2
2
px);
+ @include icon(2
0
px);
- margin-right: 3px;
+ position: relative;
+ top: -1px;
+ margin-right: 5px;
background-image: url($imageUrl);
}
}