diff --git a/assets/css/lightbox.css b/assets/css/lightbox.css index c2754f9..8366b1a 100644 --- a/assets/css/lightbox.css +++ b/assets/css/lightbox.css @@ -35,3 +35,8 @@ 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 3874eb3..d9a91ee 100644 --- a/lib/chiya_web/controllers/page_html/note.html.heex +++ b/lib/chiya_web/controllers/page_html/note.html.heex @@ -26,9 +26,11 @@ /> - + + + <% end %> diff --git a/lib/chiya_web/live/note_show_live.ex b/lib/chiya_web/live/note_show_live.ex index 6ca17d3..3189156 100644 --- a/lib/chiya_web/live/note_show_live.ex +++ b/lib/chiya_web/live/note_show_live.ex @@ -40,7 +40,7 @@ defmodule ChiyaWeb.NoteShowLive do
@@ -56,7 +56,8 @@ defmodule ChiyaWeb.NoteShowLive do

- + +