summaryrefslogtreecommitdiffstats
path: root/src/components/CommentForm/CommentForm.module.scss
blob: 922923a812c81874cf656b776c96c1fc4a8de5f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@use "@styles/abstracts/functions" as fun;

.wrapper {
  width: min(calc(100vw - (var(--spacing-md) * 2)), fun.convert-px(500));
  margin: auto;

  &--reply {
    width: 100%;
    margin-top: var(--spacing-sm);
    padding: var(--spacing-md);
    position: relative;
    background: var(--color-bg);
    border: fun.convert-px(1) solid var(--color-border-light);
    box-shadow: fun.convert-px(3) fun.convert-px(3) 0 0
        var(--color-shadow-lighter),
      fun.convert-px(4) fun.convert-px(4) fun.convert-px(3) fun.convert-px(-2)
        var(--color-shadow-light);
  }
}

.title {
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}