Use css grid for DiskItems to avoid reordering
This commit is contained in:
@@ -31,13 +31,18 @@ onMounted(async () => {
|
||||
<style scoped>
|
||||
|
||||
.filesystems-grid {
|
||||
display: flex;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 15px;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
transition: 300ms;
|
||||
flex-wrap: wrap;
|
||||
justify-content: start;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
@media (max-width: 576px) {
|
||||
.filesystems-grid {
|
||||
grid-template-columns: 1fr; /* Single column on small screens */
|
||||
}
|
||||
}
|
||||
|
||||
.usage-bar {
|
||||
|
||||
Reference in New Issue
Block a user