aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/shared/images/preview-upload.component.scss
blob: 8f35221156873201e3f0b57ee8d267a8856dd68b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                         
                        
                         
                      

                  

                                                     



       
@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 grey;
        background-color: var(--mainBackgroundColor);
      }
    }
  }
}