mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-08-22 12:19:24 +00:00
tiny styling change
This commit is contained in:
parent
3359361730
commit
c76df73154
@ -39,7 +39,7 @@ export function adjustFontSizeToFit(
|
|||||||
element.style.overflowWrap = 'normal';
|
element.style.overflowWrap = 'normal';
|
||||||
// Disable automatic hyphenation to avoid mid-word breaks; use only manual opportunities
|
// Disable automatic hyphenation to avoid mid-word breaks; use only manual opportunities
|
||||||
element.style.setProperty('hyphens', 'manual');
|
element.style.setProperty('hyphens', 'manual');
|
||||||
element.style.overflow = 'hidden';
|
element.style.overflow = 'visible';
|
||||||
|
|
||||||
const minFontPx = baseFontPx * minScale;
|
const minFontPx = baseFontPx * minScale;
|
||||||
const stepPx = Math.max(0.5, baseFontPx * stepScale);
|
const stepPx = Math.max(0.5, baseFontPx * stepScale);
|
||||||
|
@ -48,6 +48,7 @@
|
|||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
color: var(--tool-subcategory-text-color);
|
color: var(--tool-subcategory-text-color);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tool-subcategory-row-rule {
|
.tool-subcategory-row-rule {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user