Skip to content

Commit 275167c

Browse files
fix: all types of text widget background color issues in mobile dark mode.
1 parent 19b2af7 commit 275167c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/OpenSign/src/components/pdf/PlaceholderType.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import "../../styles/signature.css";
1515
import RegexParser from "regex-parser";
1616
import { emailRegex } from "../../constant/const";
1717
const textWidgetCls =
18-
"w-full h-full md:min-w-full md:min-h-full z-[999] text-[12px] rounded-[2px] border-[1px] border-[#007bff] overflow-hidden resize-none outline-none text-base-content item-center whitespace-pre-wrap";
18+
"w-full h-full md:min-w-full md:min-h-full z-[999] text-[12px] rounded-[2px] border-[1px] border-[#007bff] overflow-hidden resize-none outline-none text-base-content item-center whitespace-pre-wrap bg-white";
1919
const selectWidgetCls =
2020
"w-full h-full absolute left-0 top-0 border-[1px] border-[#007bff] rounded-[2px] focus:outline-none text-base-content";
2121
function PlaceholderType(props) {
@@ -430,7 +430,7 @@ function PlaceholderType(props) {
430430
case "dropdown":
431431
return props.data?.signerObjId === props.signerObjId ? (
432432
<select
433-
className={`${selectWidgetCls} text-[12px]`}
433+
className={`${selectWidgetCls} text-[12px] bg-inherit`}
434434
id="myDropdown"
435435
value={selectOption}
436436
onChange={(e) => {

0 commit comments

Comments
 (0)