Merge pull request #5771 from leigh-pointer/resizeEditors
Added Resizable css to text editors
This commit is contained in:
@@ -64,7 +64,7 @@
|
|||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
<div @ref="@_editorElement"></div>
|
<div @ref="@_editorElement" class="app-editor-resizable"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
<RadzenTheme Theme="@RadzenEditorDefinitions.DefaultTheme" />
|
<RadzenTheme Theme="@RadzenEditorDefinitions.DefaultTheme" />
|
||||||
<RadzenComponents />
|
<RadzenComponents />
|
||||||
<RadzenHtmlEditor @ref="_editor" Visible="_visible" Placeholder="@Placeholder" style="@($"height: {Height}px;")"
|
<RadzenHtmlEditor @ref="_editor" Visible="_visible" Placeholder="@Placeholder" style="@($"height: {Height}px;")"
|
||||||
@bind-Value="_value" Execute="OnExecute" class="rz-text-editor">
|
@bind-Value="_value" Execute="OnExecute" class="rz-text-editor app-editor-resizable">
|
||||||
<ChildContent>
|
<ChildContent>
|
||||||
@_toolbar
|
@_toolbar
|
||||||
@if (UserSecurity.IsAuthorized(PageState.User, RoleNames.Admin))
|
@if (UserSecurity.IsAuthorized(PageState.User, RoleNames.Admin))
|
||||||
|
|||||||
@@ -273,6 +273,11 @@ app {
|
|||||||
min-height: 250px;
|
min-height: 250px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.app-editor-resizable {
|
||||||
|
resize: vertical;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.app-logo .navbar-brand {
|
.app-logo .navbar-brand {
|
||||||
padding: 5px 20px 5px 20px;
|
padding: 5px 20px 5px 20px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user