X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bmy-account%2Fmy-account-notifications%2Fmy-account-notifications.component.scss;h=b0ac45e300bc16d1ff5abeacb857bd074d9ae2f9;hb=ba8a8367e7fde7915ae6633445bf46ebf4a9fe94;hp=43d1f82ab1ef312a43690b38ce70c42305591f21;hpb=88108880bbdba473cfe36ecbebc1c3c4f972e102;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss index 43d1f82ab..b0ac45e30 100644 --- a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss +++ b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss @@ -1,9 +1,8 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables' as *; +@use '_mixins' as *; .header { display: flex; - justify-content: space-between; font-size: 15px; margin-bottom: 20px; @@ -18,8 +17,56 @@ @include grey-button; @include button-with-icon(20px, 3px, -1px); } + + .peertube-select-container { + @include peertube-select-container(auto); + } } + my-user-notifications { font-size: 15px; } + +@media screen and (max-width: $mobile-view) { + .header { + flex-direction: column; + + > :first-child, + .peertube-select-container { + margin-bottom: 15px; + } + + .peertube-select-container { + @include margin-left(0 !important); + } + } +} + +@media screen and (min-width: $mobile-view) and (max-width: $small-view) { + .header { + a { + font-size: 0; + padding: 0 13px; + } + + .peertube-select-container { + width: auto !important; + } + } +} + +@media screen and (min-width: $mobile-view) and (max-width: #{$small-view + $menu-width}) { + :host-context(.main-col:not(.expanded)) { + .header { + a { + font-size: 0; + padding: 0 13px; + } + + .peertube-select-container { + width: auto !important; + } + } + } +}