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:
5d79474
)
Fix my account settings responsive
author
Chocobozzz
<me@florianbigard.com>
Thu, 11 Apr 2019 09:18:19 +0000
(11:18 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Thu, 11 Apr 2019 09:18:19 +0000
(11:18 +0200)
client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.scss
patch
|
blob
|
history
client/src/app/+my-account/shared/actor-avatar-info.component.scss
patch
|
blob
|
history
client/src/sass/application.scss
patch
|
blob
|
history
client/src/sass/include/_mixins.scss
patch
|
blob
|
history
diff --git
a/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.scss
b/client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.scss
index 0274f47c52e85d7920c9602af224dab4e2ff105a..7cd5c3b46c3389bc6a5a0edbe87956448edf09c4 100644
(file)
--- a/
client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.scss
+++ b/
client/src/app/+my-account/my-account-settings/my-account-notification-preferences/my-account-notification-preferences.component.scss
@@
-16,6
+16,14
@@
& > div {
width: 350px;
+
+ @media screen and (max-width: $small-view) {
+ width: auto;
+
+ &:first-child {
+ flex-grow: 1;
+ }
+ }
}
& > div {
diff --git
a/client/src/app/+my-account/shared/actor-avatar-info.component.scss
b/client/src/app/+my-account/shared/actor-avatar-info.component.scss
index 0b0c83de55f808aa4585cae9974ed6ae3890b5a2..86f8108b96b5d05b2d10f886597959d8dc4feece 100644
(file)
--- a/
client/src/app/+my-account/shared/actor-avatar-info.component.scss
+++ b/
client/src/app/+my-account/shared/actor-avatar-info.component.scss
@@
-18,6
+18,10
@@
.actor-info-display-name {
font-size: 20px;
font-weight: $font-bold;
+
+ @media screen and (max-width: $small-view) {
+ font-size: 16px;
+ }
}
.actor-info-username {
@@
-48,4
+52,4
@@
position: relative;
top: -10px;
-}
\ No newline at end of file
+}
diff --git
a/client/src/sass/application.scss
b/client/src/sass/application.scss
index 28b466c01cd1f20f4acf51f09c11570bf7e183cc..d847662408bfd54768c1d505f9e6fe4cbc758cb6 100644
(file)
--- a/
client/src/sass/application.scss
+++ b/
client/src/sass/application.scss
@@
-147,7
+147,7
@@
label {
}
@media screen and (max-width: 500px) {
- margin-right:
20
px;
+ margin-right:
15
px;
}
}
@@
-382,6
+382,8
@@
table {
}
.sub-menu {
+ width: 100vw;
+ overflow-x: auto;
padding-left: 15px;
padding-right: 15px;
margin-bottom: 10px;
diff --git
a/client/src/sass/include/_mixins.scss
b/client/src/sass/include/_mixins.scss
index 9c3f28b28749eea3fb99f9a6b9b211d3d8b84d12..262a8136f6e0842552c4464ab9905159be363285 100644
(file)
--- a/
client/src/sass/include/_mixins.scss
+++ b/
client/src/sass/include/_mixins.scss
@@
-235,6
+235,10
@@
position: relative;
font-size: 15px;
+ @media screen and (max-width: $width) {
+ width: 100%;
+ }
+
&:after {
top: 50%;
right: calc(0% + 15px);