From 973e986f787ca06f399781cfd480ca14102af276 Mon Sep 17 00:00:00 2001 From: Andreas Date: Sun, 29 Oct 2023 14:07:45 +0100 Subject: [PATCH] Make raw item code constrained width wise --- d2warehouse/app/static/style.css | 5 +++++ d2warehouse/app/templates/item.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/d2warehouse/app/static/style.css b/d2warehouse/app/static/style.css index ab19ad0..7a9e991 100644 --- a/d2warehouse/app/static/style.css +++ b/d2warehouse/app/static/style.css @@ -65,3 +65,8 @@ input[type="checkbox"]:checked + label { color: rgb(199, 179, 119); } +.raw-item { + max-width: 120px; + background-color: #444; + color: rgb(240, 240, 240); +} diff --git a/d2warehouse/app/templates/item.html b/d2warehouse/app/templates/item.html index 58a3c0b..81aef81 100644 --- a/d2warehouse/app/templates/item.html +++ b/d2warehouse/app/templates/item.html @@ -11,6 +11,6 @@
  • {{stat}}
  • {% endfor %} {% endif %} -
  • {{item.raw().hex()}}
  • +