From f7ec89d8b50a0f0c02b46e89b4ca5379419751ff Mon Sep 17 00:00:00 2001 From: Lumi Pakkanen Date: Wed, 22 May 2024 20:07:29 +0300 Subject: [PATCH] Work around SVG baseline bug in Firefox ref #710 --- src/components/MosPyramid.vue | 33 +++++---------------------------- 1 file changed, 5 insertions(+), 28 deletions(-) diff --git a/src/components/MosPyramid.vue b/src/components/MosPyramid.vue index 2cbb09c5..625f7795 100644 --- a/src/components/MosPyramid.vue +++ b/src/components/MosPyramid.vue @@ -93,40 +93,16 @@ const generators = computed(() => { :class="{ selected: selected === info.pattern }" > - + {{ info.pattern }} - + {{ generators[i][j] }} - + {{ info.abbreviation }} - + {{ info.name }} @@ -155,6 +131,7 @@ g:hover > rect { stroke-width: 0.02; } text { + dominant-baseline: central; fill: var(--color-accent-text-btn); } g:hover > text {