mirror of https://github.com/jetkvm/kvm.git
style(ui): update styling for access and network settings components (#487)
* style(ui): update styling for access and network settings components * fix(ui): simplify conditional rendering in network settings component
This commit is contained in:
parent
354941b54d
commit
8eaa86ae45
|
@ -409,7 +409,7 @@ export default function SettingsAccessIndexRoute() {
|
|||
.
|
||||
</div>
|
||||
</div>
|
||||
<hr className="block w-full dark:border-slate-600" />
|
||||
<hr className="block w-full border-slate-800/20 dark:border-slate-300/20" />
|
||||
|
||||
<div>
|
||||
<LinkButton
|
||||
|
@ -469,4 +469,4 @@ export default function SettingsAccessIndexRoute() {
|
|||
);
|
||||
}
|
||||
|
||||
SettingsAccessIndexRoute.loader = loader;
|
||||
SettingsAccessIndexRoute.loader = loader;
|
||||
|
|
|
@ -356,7 +356,7 @@ export default function SettingsNetworkRoute() {
|
|||
/>
|
||||
</SettingsItem>
|
||||
<AutoHeight>
|
||||
{!networkSettingsLoaded ? (
|
||||
{!networkSettingsLoaded && !networkState?.dhcp_lease ? (
|
||||
<GridCard>
|
||||
<div className="p-4">
|
||||
<div className="space-y-4">
|
||||
|
@ -402,7 +402,8 @@ export default function SettingsNetworkRoute() {
|
|||
/>
|
||||
</SettingsItem>
|
||||
<AutoHeight>
|
||||
{!networkSettingsLoaded ? (
|
||||
{!networkSettingsLoaded &&
|
||||
!(networkState?.ipv6_addresses && networkState.ipv6_addresses.length > 0) ? (
|
||||
<GridCard>
|
||||
<div className="p-4">
|
||||
<div className="space-y-4">
|
||||
|
|
Loading…
Reference in New Issue