Fix maximized markdown textarea
This commit is contained in:
parent
72e21e842f
commit
c6302ed54b
|
@ -2,7 +2,7 @@
|
|||
|
||||
<textarea #textarea
|
||||
[(ngModel)]="content" (ngModelChange)="onModelChange()"
|
||||
class="form-control" [ngClass]="{ 'input-error': formError }"
|
||||
[ngClass]="{ 'input-error': formError }"
|
||||
[attr.disabled]="disabled || null"
|
||||
[id]="inputId" [name]="inputId" [dir]="dir">
|
||||
</textarea>
|
||||
|
|
|
@ -82,7 +82,6 @@ $input-border-radius: 3px;
|
|||
z-index: #{z(root-header) - 1};
|
||||
position: fixed;
|
||||
top: pvar(--header-height);
|
||||
left: $menu-width;
|
||||
|
||||
max-height: none !important;
|
||||
max-width: none !important;
|
||||
|
@ -95,6 +94,8 @@ $input-border-radius: 3px;
|
|||
|
||||
background-color: pvar(--bg);
|
||||
|
||||
@include left($menu-width);
|
||||
|
||||
.nav-preview {
|
||||
grid-row: 1;
|
||||
grid-column: 1 / 3;
|
||||
|
@ -113,6 +114,9 @@ $input-border-radius: 3px;
|
|||
border-right: 1px dashed pvar(--input-border-color);
|
||||
|
||||
resize: none;
|
||||
|
||||
// Prevent "outline" overflow with left menu
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
::ng-deep .tab-content {
|
||||
|
@ -163,7 +167,8 @@ $input-border-radius: 3px;
|
|||
|
||||
:host-context(.main-col.expanded) {
|
||||
.root.maximized {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
width: calc(100% - #{$menu-collapsed-width});
|
||||
|
||||
@include left($menu-collapsed-width);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue