Small styling fix for the controls bar

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-08-20 12:19:52 +02:00
parent f072b06b81
commit 49acc1a88f
3 changed files with 40 additions and 16 deletions

View File

@@ -380,7 +380,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.controls { .controls {
display: flex; display: flex;
padding: 3px; margin: 5px;
height: 44px; height: 44px;
padding-left: 44px; padding-left: 44px;
@@ -431,6 +431,9 @@ export default {
} }
.deck-search { .deck-search {
display: flex;
align-items: center;
justify-content: center;
input[type=search] { input[type=search] {
background-position: 5px; background-position: 5px;
padding-left: 24px; padding-left: 24px;

View File

@@ -1,19 +1,39 @@
<template> <template>
<svg xmlns="http://www.w3.org/2000/svg" :height="size" :width="size" version="1.1" viewBox="0 0 16 16"> <svg xmlns="http://www.w3.org/2000/svg"
<rect ry="1" height="8" width="14" y="7" x="1"/> :height="size"
<rect ry=".5" height="1" width="12" y="5" x="2"/> :width="size"
<rect ry=".5" height="1" width="10" y="3" x="3"/> version="1.1"
<rect ry=".5" height="1" width="8" y="1" x="4"/> viewBox="0 0 16 16">
</svg> <rect ry="1"
height="8"
width="14"
y="7"
x="1" />
<rect ry=".5"
height="1"
width="12"
y="5"
x="2" />
<rect ry=".5"
height="1"
width="10"
y="3"
x="3" />
<rect ry=".5"
height="1"
width="8"
y="1"
x="4" />
</svg>
</template> </template>
<script> <script>
export default { export default {
name: 'DeckIcon', name: 'DeckIcon',
props: { props: {
size: { size: {
type: Number, type: Number,
default: 16, default: 16,
}, },
}, },
} }
</script> </script>

View File

@@ -76,8 +76,9 @@ window.addEventListener('DOMContentLoaded', () => {
/* eslint-disable-next-line no-new */ /* eslint-disable-next-line no-new */
new Vue({ new Vue({
name: 'Deck',
el: '#content', el: '#content',
// eslint-disable-next-line vue/match-component-file-name
name: 'Deck',
router, router,
store, store,
data() { data() {