diff --git a/Cargo.lock b/Cargo.lock index e4ed9a1..e701698 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1196,7 +1196,7 @@ checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e" [[package]] name = "pict-rs-proxy" -version = "0.1.4" +version = "0.1.5" dependencies = [ "actix-rt", "actix-web", diff --git a/Cargo.toml b/Cargo.toml index 18bfa23..6e0d763 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pict-rs-proxy" -version = "0.1.4" +version = "0.1.5" authors = ["asonix "] license = "AGPL-3.0" readme = "README.md" diff --git a/scss/images.scss b/scss/images.scss index 935e7d1..e82b797 100644 --- a/scss/images.scss +++ b/scss/images.scss @@ -12,9 +12,19 @@ ul { margin-bottom: 0; } +.imagebox { + display: flex; + justify-content: center; + align-items: middle; + max-width: 400px; + max-height: 400px; +} + img { background-color: #f5f5f5; border: 1px solid #e5e5e5; border-radius: 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); + margin-right: auto; + max-height: 400px; } diff --git a/templates/images.rs.html b/templates/images.rs.html index cf36879..301ba4f 100644 --- a/templates/images.rs.html +++ b/templates/images.rs.html @@ -21,9 +21,11 @@ @for image in images {
  • }