]> git.scottworley.com Git - vopamoi/commitdiff
Full-width input box
authorScott Worley <scottworley@scottworley.com>
Wed, 26 Jan 2022 21:59:25 +0000 (13:59 -0800)
committerScott Worley <scottworley@scottworley.com>
Thu, 27 Jan 2022 20:21:55 +0000 (12:21 -0800)
index.html
vopamoi.css [new file with mode: 0644]

index ac8cb5318d5ba80828bfb454e14520d646dc4b0f..55c3b35b0acbd6343387663c435f14105f03719f 100644 (file)
@@ -2,6 +2,7 @@
 <html>
   <head>
     <script src="vopamoi.js" defer="true"></script>
+    <link rel="stylesheet" href="vopamoi.css"/>
   </head>
   <body onload="browserInit();">
     <input id="taskName" name="taskName">
diff --git a/vopamoi.css b/vopamoi.css
new file mode 100644 (file)
index 0000000..d8365cb
--- /dev/null
@@ -0,0 +1,3 @@
+input {
+  width: calc(100% - 8px); /* 8px to account for the default padding and border */
+}