Skip to content

Commit

Permalink
fix bbox display bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lxieyang committed Nov 19, 2020
1 parent 8180b63 commit 5c10112
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/pages/Content/content.styles.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
#screenshot-bbox {
box-sizing: border-box;
border: 2px dashed rgba(255, 72, 0, 0.829);
background-color: rgba(182, 238, 144, 0.26);
}

.no-select {
-webkit-touch-callout: none;
-webkit-user-select: none;
Expand All @@ -13,3 +7,15 @@
user-select: none;
cursor: crosshair;
}

#screenshot-bbox {
box-sizing: border-box;
border: 2px dashed rgba(255, 72, 0, 0.829);
background-color: rgba(182, 238, 144, 0.26);

display: none;
}

.no-select #screenshot-bbox {
display: block;
}

0 comments on commit 5c10112

Please sign in to comment.