X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-forms%2Fmarkdown-textarea.component.scss;h=1f72dbc322e6b7215508263235463193df3757f3;hb=931d3430184143ebd88e5243def6eb1d7acfdbf4;hp=fcddfea03a26937d5e6684f571c710b56fd71f77;hpb=01d0147ef5a9a0b5087ed5c908258ae228a1b83c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-forms/markdown-textarea.component.scss b/client/src/app/shared/shared-forms/markdown-textarea.component.scss index fcddfea03..1f72dbc32 100644 --- a/client/src/app/shared/shared-forms/markdown-textarea.component.scss +++ b/client/src/app/shared/shared-forms/markdown-textarea.component.scss @@ -18,7 +18,7 @@ $input-border-radius: 3px; font-family: monospace; font-size: 13px; - border-bottom: none; + border-bottom: 0; border-bottom-left-radius: unset; border-bottom-right-radius: unset; } @@ -51,7 +51,8 @@ $input-border-radius: 3px; opacity: 0.6; } - &:hover, &:active { + &:hover, + &:active { svg { opacity: 1; } @@ -105,6 +106,8 @@ $input-border-radius: 3px; } @mixin maximized-base { + $nav-preview-vertical-padding: 40px; + flex-direction: row; z-index: #{z(header) - 1}; position: fixed; @@ -115,23 +118,21 @@ $input-border-radius: 3px; width: calc(100% - #{$menu-width}); height: calc(100vh - #{$header-height}) !important; - $nav-preview-vertical-padding: 40px; - .nav-preview { @include nav-preview-medium(); padding-top: #{$nav-preview-vertical-padding / 2}; padding-bottom: #{$nav-preview-vertical-padding / 2}; - padding-left: 0px; - padding-right: 0px; + padding-left: 0; + padding-right: 0; position: absolute; background-color: pvar(--mainBackgroundColor); width: 100% !important; - border-top: none; - border-left: none; - border-right: none; + border-top: 0; + border-left: 0; + border-right: 0; :last-child { - margin-right: $not-expanded-horizontal-margins; + margin-right: pvar(--horizontalMarginContent); } } @@ -148,7 +149,7 @@ $input-border-radius: 3px; margin-top: #{$nav-preview-tab-height + $nav-preview-vertical-padding} !important; height: calc(100vh - #{$header-height + $nav-preview-tab-height + $nav-preview-vertical-padding}) !important; width: 50% !important; - border: none !important; + border: 0 !important; border-radius: unset !important; } @@ -249,11 +250,11 @@ $input-border-radius: 3px; } @media only screen and (min-width: $small-view) { + @include maximized-in-medium-view(); + :host-context(.expanded) { @include in-medium-view(); } - - @include maximized-in-medium-view(); } @media only screen and (min-width: #{$small-view + $menu-width}) {