From 6406a0a858db2e74427843d3091da28d9bbe125f Mon Sep 17 00:00:00 2001 From: sinanisler Date: Mon, 23 Jun 2025 00:13:16 +0300 Subject: [PATCH] Center button content in accessibility widget for improved layout --- widget.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/widget.js b/widget.js index e789b1f..6a183bc 100644 --- a/widget.js +++ b/widget.js @@ -132,6 +132,9 @@ const styles = ` height: ${WIDGET_CONFIG.button.size}; box-shadow: ${WIDGET_CONFIG.button.shadow}; transition: ${WIDGET_CONFIG.animation.transition} !important; + display: flex; + justify-content: center; + align-items: center; } #snn-accessibility-button:hover { transform: scale(${WIDGET_CONFIG.animation.hoverScale});