Skip to content

Commit

Permalink
Merge pull request #153 from hkalexling/hotfix/reader-bg
Browse files Browse the repository at this point in the history
Fix incorrect background color on reader page
  • Loading branch information
hkalexling authored Jan 27, 2021
2 parents 952aa0c + adf260b commit 40f74ea
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build

on:
push:
branches: [ master, dev ]
branches: [ master, dev, hotfix/* ]
pull_request:
branches: [ master, dev ]

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The official docker images are available on [Dockerhub](https://hub.docker.com/r
### CLI

```
Mango - Manga Server and Web Reader. Version 0.19.0
Mango - Manga Server and Web Reader. Version 0.19.1
Usage:
Expand Down
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: mango
version: 0.19.0
version: 0.19.1

authors:
- Alex Ling <hkalexling@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion src/mango.cr
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require "option_parser"
require "clim"
require "tallboy"

MANGO_VERSION = "0.19.0"
MANGO_VERSION = "0.19.1"

# From http://www.network-science.de/ascii/
BANNER = %{
Expand Down
3 changes: 2 additions & 1 deletion src/views/reader.html.ecr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html style="background-color: black;">
<html class="reader-bg">

<% page = "Reader" %>
<%= render_component "head" %>
Expand Down Expand Up @@ -112,6 +112,7 @@
<style>
img[data-src][src*='data:image'] { background: white; }
img { width: 100%; }
.reader-bg { background: black; }
</style>

</html>

0 comments on commit 40f74ea

Please sign in to comment.