Skip to content

Commit

Permalink
fix(webcam): fix fps output in light mode (#1901)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Dej <[email protected]>
  • Loading branch information
meteyou authored Jun 8, 2024
1 parent f96e006 commit cec28d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/webcams/streamers/Mjpegstreamer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -257,4 +257,8 @@ export default class Mjpegstreamer extends Mixins(BaseMixin, WebcamMixin) {
padding: 3px 10px;
border-top-left-radius: 5px;
}
html.theme--light .webcamFpsOutput {
background: rgba(255, 255, 255, 0.7);
}
</style>
4 changes: 4 additions & 0 deletions src/components/webcams/streamers/MjpegstreamerAdaptive.vue
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,8 @@ export default class MjpegstreamerAdaptive extends Mixins(BaseMixin, WebcamMixin
padding: 3px 10px;
border-top-left-radius: 5px;
}
html.theme--light .webcamFpsOutput {
background: rgba(255, 255, 255, 0.7);
}
</style>

0 comments on commit cec28d0

Please sign in to comment.