Skip to content

Commit

Permalink
fix: fixed text while display rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
VisheshBansal committed May 9, 2021
1 parent 741f2ee commit 0d47736
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,22 @@ video {
z-index: 1;
}

.render-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
min-height: 250%;
background-color: #afff4e;
opacity: 0.4;
z-index: 1;
}

.render-overlay-text{
position: relative;
z-index: 2;
}

.masthead {
position: relative;
overflow: hidden;
Expand Down
4 changes: 2 additions & 2 deletions views/display.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
</head>
<body>

<div class="overlay"></div>
<div class="container"><br><br> <br><br><br><br><br> <br><br><br>
<div class="render-overlay"></div>
<div class="container render-overlay-text"><br><br> <br><br><br><br><br> <br><br><br>
<center>
<p>
OCR text: <%= text %>
Expand Down

0 comments on commit 0d47736

Please sign in to comment.