1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 13:23:07 +01:00

chore: enables container queries (#2676)

This commit is contained in:
Amir Raminfar
2024-01-09 11:49:56 -08:00
committed by GitHub
parent 6ca33b5a62
commit da24ca249a
4 changed files with 18 additions and 5 deletions

View File

@@ -14,13 +14,13 @@
</div> </div>
</section> </section>
<section class="flex flex-col"> <section class="flex flex-col @container">
<div class="has-underline"> <div class="has-underline">
<h2>{{ $t("settings.display") }}</h2> <h2>{{ $t("settings.display") }}</h2>
</div> </div>
<section class="grid-cols-2 gap-4 md:grid"> <section class="grid-cols-2 gap-4 @3xl:grid">
<div class="flex flex-col gap-2 text-balance md:pr-8"> <div class="flex flex-col gap-2 text-balance @3xl:pr-8">
<toggle v-model="smallerScrollbars"> {{ $t("settings.small-scrollbars") }} </toggle> <toggle v-model="smallerScrollbars"> {{ $t("settings.small-scrollbars") }} </toggle>
<toggle v-model="showTimestamp">{{ $t("settings.show-timesamps") }}</toggle> <toggle v-model="showTimestamp">{{ $t("settings.show-timesamps") }}</toggle>
@@ -93,7 +93,7 @@
:messages="fakeMessages" :messages="fakeMessages"
:visible-keys="keys" :visible-keys="keys"
:last-selected-item="undefined" :last-selected-item="undefined"
class="mobile-hidden overflow-hidden rounded-lg border border-base-content/50 shadow" class="hidden overflow-hidden rounded-lg border border-base-content/50 shadow @3xl:block"
/> />
</section> </section>
</section> </section>

View File

@@ -36,6 +36,7 @@
"@iconify-json/octicon": "^1.1.52", "@iconify-json/octicon": "^1.1.52",
"@iconify-json/ph": "^1.1.9", "@iconify-json/ph": "^1.1.9",
"@intlify/unplugin-vue-i18n": "^2.0.0", "@intlify/unplugin-vue-i18n": "^2.0.0",
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/typography": "^0.5.10", "@tailwindcss/typography": "^0.5.10",
"@vueuse/components": "^10.7.1", "@vueuse/components": "^10.7.1",
"@vueuse/core": "^10.7.1", "@vueuse/core": "^10.7.1",

11
pnpm-lock.yaml generated
View File

@@ -29,6 +29,9 @@ dependencies:
'@intlify/unplugin-vue-i18n': '@intlify/unplugin-vue-i18n':
specifier: ^2.0.0 specifier: ^2.0.0
version: 2.0.0(vue-i18n@9.9.0) version: 2.0.0(vue-i18n@9.9.0)
'@tailwindcss/container-queries':
specifier: ^0.1.1
version: 0.1.1(tailwindcss@3.4.1)
'@tailwindcss/typography': '@tailwindcss/typography':
specifier: ^0.5.10 specifier: ^0.5.10
version: 0.5.10(tailwindcss@3.4.1) version: 0.5.10(tailwindcss@3.4.1)
@@ -1035,6 +1038,14 @@ packages:
resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==}
dev: true dev: true
/@tailwindcss/container-queries@0.1.1(tailwindcss@3.4.1):
resolution: {integrity: sha512-p18dswChx6WnTSaJCSGx6lTmrGzNNvm2FtXmiO6AuA1V4U5REyoqwmT6kgAsIMdjo07QdAfYXHJ4hnMtfHzWgA==}
peerDependencies:
tailwindcss: '>=3.2.0'
dependencies:
tailwindcss: 3.4.1(ts-node@10.9.2)
dev: false
/@tailwindcss/typography@0.5.10(tailwindcss@3.4.1): /@tailwindcss/typography@0.5.10(tailwindcss@3.4.1):
resolution: {integrity: sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==} resolution: {integrity: sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==}
peerDependencies: peerDependencies:

View File

@@ -1,6 +1,7 @@
import type { Config } from "tailwindcss"; import type { Config } from "tailwindcss";
import DaisyUI from "daisyui"; import DaisyUI from "daisyui";
import Typography from "@tailwindcss/typography"; import Typography from "@tailwindcss/typography";
import Container from "@tailwindcss/container-queries";
export default { export default {
future: { future: {
@@ -27,7 +28,7 @@ export default {
}, },
}, },
}, },
plugins: [DaisyUI, Typography], plugins: [DaisyUI, Typography, Container],
daisyui: { daisyui: {
themes: [], themes: [],
base: false, base: false,