spiegel-keyman/web/src/engine/osk
Eberhard Beilharz 1fa4090d05
fix(web): Improve cause of issue
One reason for the sometimes small text on the spacebar besides the
too small font size on `kmw-spacebar-caption` was that the calculation
of the ideal font size added double padding: it added two pixels of
padding to the height, but also multiplied the height value by 0.9 which
effectively added more padding. This change removes the 2 pixel padding
from the calculation.

The existing calculation varies the text size to fit in the available
width of the spacebar, so calculating with font size of 1em is reasonable
and better than the previous 0.6em. The previous value would lead to even
an smaller font size for long texts, far below the size that would be
sufficient to fit the text.
2023-11-07 19:23:41 +07:00
..
src fix(web): Improve cause of issue 2023-11-07 19:23:41 +07:00
build-bundler.js change(web): centralizes /web project bundling configs 2023-06-16 11:35:10 +07:00
build.sh chore(web): extra build-script cleanup 2023-05-30 08:57:45 +07:00
tsconfig.json chore(web): centralizes main KMW component tsconfig settings 2023-06-14 09:02:46 +07:00