]> git.ardis.lu - utf-8-visualizer/commitdiff
Widen input to accommodate larger graphemes
authorArdis Lu <ardisglu@gmail.com>
Sat, 14 Jan 2023 22:09:10 +0000 (14:09 -0800)
committerArdis Lu <ardisglu@gmail.com>
Sat, 14 Jan 2023 22:09:10 +0000 (14:09 -0800)
style.css

index 54cf89ca05f5acd9f54a74ced5e43b367add100a..346ba185771bb52c2bbce007b5f8689bae472f87 100644 (file)
--- a/style.css
+++ b/style.css
@@ -27,7 +27,7 @@ input {
   display: block;
   background: hsl(222deg 50% 95%);
   color: hsl(222deg 50% 10%);
-  inline-size: 4rem;
+  inline-size: 6rem;
   block-size: 4rem;
   margin-inline: auto;
   margin-block-end: 8px;
@@ -35,6 +35,7 @@ input {
   border-radius: 4px;
   border: none;
   font-size: 3rem;
+  text-align: center;
   transition: filter 800ms;
 }
 
This page took 0.03428 seconds and 4 git commands to generate.