From a1204de1aa28005252adc41cc789e2f79dcda437 Mon Sep 17 00:00:00 2001 From: Inhji Date: Sat, 1 Apr 2023 12:28:12 +0200 Subject: [PATCH] improve image lightbox sizes --- assets/css/lightbox.css | 5 ----- lib/chiya_web/controllers/page_html/note.html.heex | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/assets/css/lightbox.css b/assets/css/lightbox.css index 8366b1a..c2754f9 100644 --- a/assets/css/lightbox.css +++ b/assets/css/lightbox.css @@ -35,8 +35,3 @@ background-size: contain; } -.lightbox span img { - width: 75%; - margin: 0 auto; -} - diff --git a/lib/chiya_web/controllers/page_html/note.html.heex b/lib/chiya_web/controllers/page_html/note.html.heex index e232343..1f86eba 100644 --- a/lib/chiya_web/controllers/page_html/note.html.heex +++ b/lib/chiya_web/controllers/page_html/note.html.heex @@ -28,9 +28,11 @@ + <%= image.content %>