+
{{ label }}
@@ -12,7 +12,8 @@
export default {
props: {
value: Boolean,
- label: Boolean
+ label: Boolean,
+ small: Boolean
},
data() {
return {}
@@ -25,6 +26,14 @@ export default {
set(val) {
this.$emit('input', !!val)
}
+ },
+ wrapperClass() {
+ if (this.small) return 'w-4 h-4'
+ return 'w-6 h-6'
+ },
+ svgClass() {
+ if (this.small) return 'w-3 h-3'
+ return 'w-4 h-4'
}
},
methods: {},
diff --git a/client/package.json b/client/package.json
index 947d5b5a..a53381dc 100644
--- a/client/package.json
+++ b/client/package.json
@@ -1,6 +1,6 @@
{
"name": "audiobookshelf-client",
- "version": "1.5.8",
+ "version": "1.5.9",
"description": "Audiobook manager and player",
"main": "index.js",
"scripts": {
diff --git a/client/tailwind.config.js b/client/tailwind.config.js
index d5aa082e..e5dded80 100644
--- a/client/tailwind.config.js
+++ b/client/tailwind.config.js
@@ -17,6 +17,24 @@ module.exports = {
height: {
'7.5': '1.75rem'
},
+ maxWidth: {
+ '6': '1.5rem',
+ '12': '3rem',
+ '24': '6rem',
+ '32': '8rem',
+ '48': '12rem',
+ '64': '16rem',
+ '80': '20rem'
+ },
+ minWidth: {
+ '6': '1.5rem',
+ '12': '3rem',
+ '24': '6rem',
+ '32': '8rem',
+ '48': '12rem',
+ '64': '16rem',
+ '80': '20rem'
+ },
spacing: {
'-54': '-13.5rem'
},
diff --git a/package.json b/package.json
index 2270e311..c8d439e5 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "audiobookshelf",
- "version": "1.5.8",
+ "version": "1.5.9",
"description": "Self-hosted audiobook server for managing and playing audiobooks",
"main": "index.js",
"scripts": {