From b51fdd5e2d5c2a04a747fe192982d235f4ebe915 Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Sun, 29 Mar 2026 06:56:54 +0000 Subject: [PATCH] Makes text larger for buttons with an additional breakpoint test --- style.css | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index 7a7b37f..96291da 100644 --- a/style.css +++ b/style.css @@ -131,13 +131,29 @@ li.wp-block-navigation-item.wp-block-navigation-link > a:hover { display: none; } -@media only screen and (max-width: 939px) { +@media only screen and (max-width: 781px) { .button-helper { flex-wrap: nowrap !important; } .button-helper .wp-block-button__link { - font-size: clamp(0.65rem, 2vw, 0.875rem); + font-size: clamp(0.8rem, 3vw, 1.1rem); + padding: 6px 8px !important; + white-space: nowrap; + } + + .button-helper .wp-block-buttons { + min-width: auto; + } +} + +@media only screen and (min-width: 781px) and (max-width: 939px) { + .button-helper { + flex-wrap: nowrap !important; + } + + .button-helper .wp-block-button__link { + font-size: clamp(0.7rem, 2vw, 0.9rem); padding: 6px 8px !important; white-space: nowrap; }