Center items

This commit is contained in:
broquemonsieur 2024-08-13 00:32:50 -07:00
parent a9600c8c7c
commit 270468e2eb
3 changed files with 11 additions and 7 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="293"
height="285"
width="146.5"
height="142.5"
version="1.1"
id="svg1"
sodipodi:docname="404_tv_box_dark_theme.svg"

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="293"
height="285"
width="146.5"
height="142.5"
version="1.1"
id="svg1"
sodipodi:docname="404_tv_box_light_theme.svg"

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -7,12 +7,16 @@
<% end %>
<div class="h-box">
<div style="display: flex; flex-direction: column;">
<div style="display: flex; flex-direction: column; align-items: center;">
<%= error_message %>
<% if dark_mode == "dark" %>
<img src="assets/404_tv_box_dark_theme.svg" alt="SVG Image" class="error-page">
<div style="width: 100px; height: auto;">
<img src="/404_tv_box_dark_theme.svg" alt="SVG Image" style="width: 100px; height: auto;">
</div>
<% else %>
<img src="assets/404_tv_box_light_theme.svg" alt="SVG Image" class="error-page">
<div style="width: 100px; height: auto;">
<img src="/404_tv_box_light_theme.svg" alt="SVG Image" style="width: 100px; height: auto;">
</div>
<% end %>
</div>
<%= next_steps %>