mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 03:26:17 +00:00
Update virtual-machines.tsx
This commit is contained in:
@@ -632,7 +632,7 @@ export function VirtualMachines() {
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
|
||||
/* Ensure tables are styled correctly */
|
||||
/* Ensure tables are styled correctly and centered */
|
||||
table {
|
||||
margin: 0 auto;
|
||||
}
|
||||
@@ -642,15 +642,21 @@ export function VirtualMachines() {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Style the second cell of the table to match Proxmox UI */
|
||||
/* Remove border-left since logo already has the line, keep text left-aligned */
|
||||
table td:nth-child(2) {
|
||||
text-align: left;
|
||||
padding-left: 16px;
|
||||
border-left: 2px solid rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
/* Ensure h1 and p in the second cell are left-aligned */
|
||||
table td:nth-child(2) h1,
|
||||
/* Increase h1 font size for VM name */
|
||||
table td:nth-child(2) h1 {
|
||||
text-align: left;
|
||||
font-size: 2rem;
|
||||
font-weight: bold;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
/* Ensure p in the second cell is left-aligned */
|
||||
table td:nth-child(2) p {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user