summaryrefslogtreecommitdiffstats
path: root/src/components/CommentForm/CommentForm.module.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-07 16:34:55 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-07 19:04:13 +0100
commita385d89dfd6312f2255d1343cea3f63375ce5b39 (patch)
treecad32cfd21e188eb1c145d0fda173da7f353b591 /src/components/CommentForm/CommentForm.module.scss
parent8efb9219116a6c665d1059d3218c9405c616e404 (diff)
chore: improve comment section
I also adjust styles for all forms and primary buttons.
Diffstat (limited to 'src/components/CommentForm/CommentForm.module.scss')
-rw-r--r--src/components/CommentForm/CommentForm.module.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/CommentForm/CommentForm.module.scss b/src/components/CommentForm/CommentForm.module.scss
new file mode 100644
index 0000000..2330ca2
--- /dev/null
+++ b/src/components/CommentForm/CommentForm.module.scss
@@ -0,0 +1,12 @@
+@use "@styles/abstracts/functions" as fun;
+
+.wrapper {
+ width: min(calc(100vw - (var(--spacing-md) * 2)), fun.convert-px(500));
+ margin: auto;
+}
+
+.title {
+ width: max-content;
+ margin-left: auto;
+ margin-right: auto;
+}