From 07c8329875a5e49a957e509a70b5334a844fc397 Mon Sep 17 00:00:00 2001 From: Mahiru Date: Mon, 28 Oct 2024 21:55:01 +0800 Subject: [PATCH] fix: textbox style --- packages/webgal/src/Stage/TextBox/textbox.module.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/webgal/src/Stage/TextBox/textbox.module.scss b/packages/webgal/src/Stage/TextBox/textbox.module.scss index e26491867..392918d7a 100644 --- a/packages/webgal/src/Stage/TextBox/textbox.module.scss +++ b/packages/webgal/src/Stage/TextBox/textbox.module.scss @@ -78,6 +78,8 @@ $height: 330px; .outer { position: absolute; + left:0; + top:0; white-space: nowrap; //background-image: linear-gradient(rgba(255, 255, 255, 1) 0%, rgb(225, 237, 255) 100%); background-image: linear-gradient(#0B346E 0%, @@ -95,6 +97,8 @@ $height: 330px; .inner { white-space: nowrap; position: absolute; + left:0; + top:0; -webkit-text-stroke: 0.1em rgba(255, 255, 255, 1); z-index: 1; //text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75);