2
0
mirror of https://github.com/ad1217/PrinterStatus synced 2024-11-11 02:55:09 -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> <template>
<div> <div class="content">
<div v-if="!hasPrinters"> <div v-if="!hasPrinters">
<div class="loading-spinner"></div> <div class="loading-spinner"></div>
</div> </div>
@ -66,6 +66,13 @@ connectWebsocket();
</script> </script>
<style> <style>
.content {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
.loading { .loading {
display: flex; display: flex;
align-items: center; align-items: center;