From 14f379b9e3512c43b677f434dfdac132fb6b9831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Thu, 10 Nov 2022 19:20:33 +0000 Subject: [PATCH] feat: better CSS structure --- examples/web/react/app.css | 3 ++- examples/web/react/components/registers-gb/registers-gb.css | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/web/react/app.css b/examples/web/react/app.css index 067b2015..f21e17fb 100644 --- a/examples/web/react/app.css +++ b/examples/web/react/app.css @@ -1,7 +1,8 @@ .app { color: #ffffff; font-family: VT323, Roboto, Open Sans, Arial, Helvetica, sans-serif; - margin: 0px 0px 0px 0px; + margin: 0px auto 0px auto; + max-width: 1400px; } .app h3 { diff --git a/examples/web/react/components/registers-gb/registers-gb.css b/examples/web/react/components/registers-gb/registers-gb.css index f340c76e..0801939b 100644 --- a/examples/web/react/components/registers-gb/registers-gb.css +++ b/examples/web/react/components/registers-gb/registers-gb.css @@ -20,13 +20,13 @@ .registers-gb > .section > .register > .register-key { display: inline-block; - width: 40px; font-size: 20px; + width: 40px; } .registers-gb > .section > .register > .register-value { display: inline-block; - width: 66px; - text-align: right; font-size: 20px; + text-align: right; + width: 66px; } -- GitLab