some small styling fixes

This commit is contained in:
Gordon Pedersen 2024-06-24 12:23:28 +10:00
parent d438c7c3cc
commit 2fcb6e1fae
2 changed files with 21 additions and 7 deletions

View file

@ -13,14 +13,19 @@
</div>
<nav>
<label class="checkbox">
<InputCheckbox @bind-Value="listed"></InputCheckbox>
<label class="checkbox" disabled="@loading">
<InputCheckbox @bind-Value="listed" disabled="@loading"></InputCheckbox>
<span>Include my page in the Now Garden</span>
</label>
<div class="max"></div>
<button class="transparent link" onclick="history.back();">Cancel</button>
<button @onclick="Save">
<button class="transparent link" onclick="history.back();" disabled="@loading">Cancel</button>
<button @onclick="Save" disabled="@loading">
@if (loading) {
<span>Saving...</span>
}
else {
<i class="fa-solid fa-floppy-disk"></i> <span>Save</span>
}
</button>
</nav>

View file

@ -238,9 +238,13 @@ dialog {
position:absolute;
left:0; right:0;
top:0; bottom:0;
background-color: var(--gray-8);
background-image: var(--prami-svg);
background-color: var(--surface-container-low);
/*background-image: var(--prami-svg);*/
background-size: contain;
background-repeat: no-repeat;
background-position: center bottom;
border-radius: 50%;
border: 1px dashed var(--gray-4);
z-index:1;
}
@ -456,3 +460,8 @@ article#directory ul{
article {
overflow-wrap: anywhere;
}
nav label {
white-space: break-spaces;
flex: 1 1 100%;
}