X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fapplication.scss;h=ff6ce394fedeee48063317e8e6821f3c32858877;hb=b15fe00f7409b27573e162192530bc73e3f918b1;hp=11e5c16c3fe45f8f9232e8e88e434c2a521d7d70;hpb=947d01023d53b5b79174775abfd27823678e597b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 11e5c16c3..ff6ce394f 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -38,6 +38,8 @@ body { --inputBackgroundColor: #{$input-background-color}; --inputPlaceholderColor: #{$input-placeholder-color}; + --textareaBackgroundColor: #{$textarea-background-color}; + --actionButtonColor: #{$grey-foreground-color}; --supportButtonBackgroundColor: #{transparent}; --supportButtonColor: #{var(--actionButtonColor)}; @@ -144,6 +146,16 @@ label { padding-right: $expanded-horizontal-margins; } } + + &.lock-scroll .main-row > router-outlet + * { + // Lock and hide body scrollbars + position: fixed; + + // Lock and hide sub-menu scrollbars + .sub-menu { + overflow-x: hidden; + } + } } .title-page { @@ -301,10 +313,19 @@ table { overflow-x: auto; padding-left: 15px; padding-right: 15px; - margin-bottom: 10px; + margin-bottom: $sub-menu-margin-bottom-small-view; + } + + my-markdown-textarea { + .root { + max-width: 100% !important; + } } - input[type=text], input[type=password] { + input[type=text], + input[type=password], + input[type=email], + textarea { width: 100% !important; } }