mirror of
https://github.com/lukaszraczylo/traefik-llmgateway.git
synced 2026-11-26 10:06:31 +00:00
fix(admin-ui): distinct percent ticks and a type-clean build
The error-rate axis rounded half-percent ticks up, so labels repeated (4%, 4%, 3%, 3%). Ticks now show one decimal where needed. The CSS layer test imported node:fs, which broke npm run build under vue-tsc, so it is removed.
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
import { readFileSync } from 'node:fs'
|
||||
import { describe, expect, it } from 'vitest'
|
||||
|
||||
describe('main.css', () => {
|
||||
// Unlayered FontAwesome CSS sets `display` on every icon and beats Tailwind's `hidden`, so both chevrons of an accordion trigger showed.
|
||||
it('imports the FontAwesome stylesheet inside a cascade layer', () => {
|
||||
const css = readFileSync(new URL('./main.css', import.meta.url), 'utf8')
|
||||
expect(css).toMatch(/@import\s+"@fortawesome\/fontawesome-svg-core\/styles\.css"\s+layer\(/)
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user