aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-forms/preview-upload.component.scss
blob: c2ee0d6a983ad5a9b13fc3da7e6cf00d5e26dc4b (plain) (blame)
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
26
27
28
29
@import '_variables';
@import '_mixins';

.root {
  height: auto;
  display: flex;
  flex-direction: column;

  .preview-container {
    position: relative;

    my-reactive-file {
      position: absolute;
      bottom: 10px;
      left: 10px;
    }

    .preview {
      object-fit: cover;
      border-radius: 4px;
      max-width: 100%;

      &.no-image {
        border: 2px solid #808080;
        background-color: pvar(--mainBackgroundColor);
      }
    }
  }
}