aboutsummaryrefslogtreecommitdiffstats
path: root/public/projects/react-small-apps/apps/todos/src/views/Todo/Todo.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-02-20 16:11:50 +0100
committerArmand Philippot <git@armandphilippot.com>2022-02-20 16:15:08 +0100
commit73a5c7fae9ffbe9ada721148c8c454a643aceebe (patch)
treec8fad013ed9b5dd589add87f8d45cf02bbfc6e91 /public/projects/react-small-apps/apps/todos/src/views/Todo/Todo.scss
parentb01239fbdcc5bbc5921f73ec0e8fee7bedd5c8e8 (diff)
chore!: restructure repo
I separated public files from the config/dev files. It improves repo readability. I also moved dotenv helper to public/inc directory and extract the Matomo tracker in the same directory.
Diffstat (limited to 'public/projects/react-small-apps/apps/todos/src/views/Todo/Todo.scss')
-rw-r--r--public/projects/react-small-apps/apps/todos/src/views/Todo/Todo.scss31
1 files changed, 31 insertions, 0 deletions
diff --git a/public/projects/react-small-apps/apps/todos/src/views/Todo/Todo.scss b/public/projects/react-small-apps/apps/todos/src/views/Todo/Todo.scss
new file mode 100644
index 0000000..67baa2d
--- /dev/null
+++ b/public/projects/react-small-apps/apps/todos/src/views/Todo/Todo.scss
@@ -0,0 +1,31 @@
+.todo {
+ border: 1px solid #000;
+ margin-top: 2rem;
+ padding: 1rem;
+
+ & &__title {
+ font-size: 1.2rem;
+ }
+
+ & &__body {
+ margin-top: 1rem;
+ min-height: 10rem;
+ }
+}
+
+.todo-form {
+ &__field {
+ border: none;
+ padding: 0;
+ margin: 0;
+
+ &--textarea {
+ resize: none;
+ line-height: inherit;
+ }
+
+ &:focus {
+ outline: none;
+ }
+ }
+}