fix: padding and radius of caddyfile editor
All checks were successful
Caddy Manager CI build / docker (push) Successful in 57s
All checks were successful
Caddy Manager CI build / docker (push) Successful in 57s
This commit is contained in:
@@ -7,6 +7,9 @@ using MudBlazor;
|
||||
|
||||
namespace CaddyManager.Components.Pages.Caddy.CaddyReverseProxies;
|
||||
|
||||
/// <summary>
|
||||
/// Page to manage reverse proxy configurations in the form of *.caddy files
|
||||
/// </summary>
|
||||
public partial class CaddyReverseProxiesPage : ComponentBase
|
||||
{
|
||||
private bool _isProcessing;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@attribute [StreamRendering]
|
||||
|
||||
<MudDialog>
|
||||
<MudDialog ActionsClass="pb-4 pr-6">
|
||||
<DialogContent>
|
||||
<MudTextField @bind-Value="FileName" Label="File name" Variant="Variant.Outlined"
|
||||
Style="margin-bottom: 8px;"
|
||||
|
||||
@@ -12,12 +12,10 @@
|
||||
<MudCardContent>
|
||||
<MudText Typo="Typo.caption" Style="padding-left: 18px; padding-bottom: 8px;">File content</MudText>
|
||||
<StandaloneCodeEditor @ref="_codeEditor" ConstructionOptions="@EditorConstructionOptions"
|
||||
CssClass="caddy-file-editor global-caddy"></StandaloneCodeEditor>
|
||||
CssClass="caddy-file-editor global-caddy"></StandaloneCodeEditor>
|
||||
</MudCardContent>
|
||||
<MudCardActions>
|
||||
<MudContainer Class="d-flex flex-row-reverse flex-grow-1 gap-4">
|
||||
<MudButton Color="Color.Primary" OnClick="Submit">Save</MudButton>
|
||||
<MudButton OnClick="Cancel">Cancel</MudButton>
|
||||
</MudContainer>
|
||||
<MudCardActions Class="pb-4 pr-4 d-flex flex-row-reverse gap-4">
|
||||
<MudButton Color="Color.Primary" OnClick="Submit">Save</MudButton>
|
||||
<MudButton OnClick="Cancel">Cancel</MudButton>
|
||||
</MudCardActions>
|
||||
</MudCard>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.caddy-file-editor {
|
||||
height: 400px;
|
||||
border-radius: 4px;
|
||||
border-radius: 0.75rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user