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;
|
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
|
public partial class CaddyReverseProxiesPage : ComponentBase
|
||||||
{
|
{
|
||||||
private bool _isProcessing;
|
private bool _isProcessing;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
@attribute [StreamRendering]
|
@attribute [StreamRendering]
|
||||||
|
|
||||||
<MudDialog>
|
<MudDialog ActionsClass="pb-4 pr-6">
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<MudTextField @bind-Value="FileName" Label="File name" Variant="Variant.Outlined"
|
<MudTextField @bind-Value="FileName" Label="File name" Variant="Variant.Outlined"
|
||||||
Style="margin-bottom: 8px;"
|
Style="margin-bottom: 8px;"
|
||||||
|
|||||||
@@ -12,12 +12,10 @@
|
|||||||
<MudCardContent>
|
<MudCardContent>
|
||||||
<MudText Typo="Typo.caption" Style="padding-left: 18px; padding-bottom: 8px;">File content</MudText>
|
<MudText Typo="Typo.caption" Style="padding-left: 18px; padding-bottom: 8px;">File content</MudText>
|
||||||
<StandaloneCodeEditor @ref="_codeEditor" ConstructionOptions="@EditorConstructionOptions"
|
<StandaloneCodeEditor @ref="_codeEditor" ConstructionOptions="@EditorConstructionOptions"
|
||||||
CssClass="caddy-file-editor global-caddy"></StandaloneCodeEditor>
|
CssClass="caddy-file-editor global-caddy"></StandaloneCodeEditor>
|
||||||
</MudCardContent>
|
</MudCardContent>
|
||||||
<MudCardActions>
|
<MudCardActions Class="pb-4 pr-4 d-flex flex-row-reverse gap-4">
|
||||||
<MudContainer Class="d-flex flex-row-reverse flex-grow-1 gap-4">
|
<MudButton Color="Color.Primary" OnClick="Submit">Save</MudButton>
|
||||||
<MudButton Color="Color.Primary" OnClick="Submit">Save</MudButton>
|
<MudButton OnClick="Cancel">Cancel</MudButton>
|
||||||
<MudButton OnClick="Cancel">Cancel</MudButton>
|
|
||||||
</MudContainer>
|
|
||||||
</MudCardActions>
|
</MudCardActions>
|
||||||
</MudCard>
|
</MudCard>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
.caddy-file-editor {
|
.caddy-file-editor {
|
||||||
height: 400px;
|
height: 400px;
|
||||||
border-radius: 4px;
|
border-radius: 0.75rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user