Skip to content

Commit e87a0e1

Browse files
committed
style: 增加样式
1 parent 1938e41 commit e87a0e1

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/components/BootstrapBlazor.PdfReader/wwwroot/css/pdf_viewer.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,19 @@
153153
margin: 0 auto;
154154
border: 2px solid transparent;
155155
}
156+
157+
.textLayer {
158+
position: absolute;
159+
text-align: initial;
160+
inset: 0;
161+
overflow: clip;
162+
opacity: 1;
163+
line-height: 1;
164+
-webkit-text-size-adjust: none;
165+
-moz-text-size-adjust: none;
166+
text-size-adjust: none;
167+
forced-color-adjust: none;
168+
transform-origin: 0 0;
169+
caret-color: CanvasText;
170+
z-index: 0;
171+
}

0 commit comments

Comments
 (0)