2
0
mirror of https://github.com/ad1217/PrinterStatus synced 2024-11-21 15:03:48 -05:00

Center printer cards with a flexbox

This commit is contained in:
Adam Goldsmith 2021-10-14 11:33:38 -04:00
parent 44211a61f2
commit 0ff5581e6e

View File

@ -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;