Skip to content

Commit 6590f8c

Browse files
committed
Fix image export bg color for white mode
1 parent d40ee98 commit 6590f8c

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

InteractiveHtmlBom/web/ibom.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
--track-color-highlight: #D04040;
1515
--zone-color: #def5f1;
1616
--zone-color-highlight: #d0404080;
17-
background-color: white;
1817
}
1918

2019
html, body {
@@ -23,7 +22,7 @@ html, body {
2322
font-family: Verdana, sans-serif;
2423
}
2524

26-
.dark {
25+
.dark.topmostdiv {
2726
--pcb-edge-color: #eee;
2827
--pad-color: #808080;
2928
--pin1-outline-color: #ffa800;
@@ -559,7 +558,10 @@ mark.highlight {
559558
color: #eee;
560559
}
561560

562-
#topmostdiv {
561+
.topmostdiv {
562+
width: 100%;
563+
height: 100%;
564+
background-color: white;
563565
transition: background-color 0.3s;
564566
}
565567

InteractiveHtmlBom/web/ibom.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
</head>
4646

4747
<body>
48-
<div id="topmostdiv" style="width: 100%; height: 100%">
48+
<div id="topmostdiv" class="topmostdiv">
4949
<div id="top">
5050
<div style="float: right; height: 100%;">
5151
<div class="hideonprint menu" style="float: right; top: 8px;">

0 commit comments

Comments
 (0)