From bc9aaba11013eb700fc978fbca7f473e2403c23b Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Fri, 4 Oct 2024 15:37:37 +0200 Subject: [PATCH] fix: version background --- frontend/src/js/ui/components/box.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/js/ui/components/box.ts b/frontend/src/js/ui/components/box.ts index a2ea1c2..335f194 100644 --- a/frontend/src/js/ui/components/box.ts +++ b/frontend/src/js/ui/components/box.ts @@ -42,6 +42,6 @@ export default (): m.Component => ({ style['height'] = `${attrs.height}px`; } - return m(`div.ba.b--black-05.br3.dib.pa2.bg-black-05${attrs.className ?? ''}`, { style }, children); + return m(`div.ba.b--black-05.br3.dib.pa2${attrs.className ?? ''}${attrs.className?.includes('.bg-') ? '' : '.bg-black-05'}`, { style }, children); }, });