From 30f829e185645ea75cc24b4d686739c0ded783b4 Mon Sep 17 00:00:00 2001
From: Anthony Geourjon <anthony.geourjon@tetras-libre.fr>
Date: Fri, 20 Jun 2025 14:59:54 +0200
Subject: [PATCH] Hide button text content when notextplay class is active. We
 keep the icon

---
 macao/assets/_custom.scss | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/macao/assets/_custom.scss b/macao/assets/_custom.scss
index 899a66e..70c22cb 100644
--- a/macao/assets/_custom.scss
+++ b/macao/assets/_custom.scss
@@ -72,6 +72,14 @@ img.inlineImage3 {
   padding: 5px 10px;
 }
 
+.notextplay {
+  font-size: 0; /* hides text */
+}
+
+.notextplay i {
+  font-size: medium; /* keep icon visible */
+}
+
 p#gapfill-container {
   white-space: pre-wrap;
   line-height: 3em;
@@ -202,6 +210,10 @@ em:not(:has(strong)) {
   min-width: 150px !important;
 }
 
+// ***********************************
+// Buttons play
+// ***********************************
+
 @import "plugins/_scrollbars.scss";
 
 
-- 
GitLab