Skip to content

Commit 07c8329

Browse files
fix: textbox style
1 parent f6586c4 commit 07c8329

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/webgal/src/Stage/TextBox/textbox.module.scss

+4
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ $height: 330px;
7878

7979
.outer {
8080
position: absolute;
81+
left:0;
82+
top:0;
8183
white-space: nowrap;
8284
//background-image: linear-gradient(rgba(255, 255, 255, 1) 0%, rgb(225, 237, 255) 100%);
8385
background-image: linear-gradient(#0B346E 0%,
@@ -95,6 +97,8 @@ $height: 330px;
9597
.inner {
9698
white-space: nowrap;
9799
position: absolute;
100+
left:0;
101+
top:0;
98102
-webkit-text-stroke: 0.1em rgba(255, 255, 255, 1);
99103
z-index: 1;
100104
//text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.75);

0 commit comments

Comments
 (0)