Skip to content

开源白板工具(SaaS),一体化白板,包含思维导图、流程图、自由画等。All in one open-source whiteboard tool with mind, flowchart, freehand and etc.

fix(react-board): resolve text should not display in safari

pubuzhixing819fc20f75b0d
diff --git a/packages/react-board/src/styles/index.scss b/packages/react-board/src/styles/index.scss
index 8bc18be..c6ae7cf 100644
--- a/packages/react-board/src/styles/index.scss
+++ b/packages/react-board/src/styles/index.scss
@@ -35,7 +35,7 @@
.plait-text-container {
// chrome show position is not correct, safari not working when don't assigned position property
// can not assign absolute, because safari can not show correctly position
- position: initial;
+ position: initial !important;
}
.text {