mirror of
https://github.com/ad1217/PrinterStatus
synced 2024-11-10 18:45:08 -05:00
Center printer cards with a flexbox
This commit is contained in:
parent
44211a61f2
commit
0ff5581e6e
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="content">
|
||||
<div v-if="!hasPrinters">
|
||||
<div class="loading-spinner"></div>
|
||||
</div>
|
||||
@ -66,6 +66,13 @@ connectWebsocket();
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.loading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
Loading…
Reference in New Issue
Block a user