summaryrefslogtreecommitdiffstats
path: root/packages/excalidraw/components/PasteChartDialog.scss
blob: 855b4ad7cd2f4dd57ed434ad65918af1cb834ad4 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
@import "../css/variables.module.scss";

.excalidraw {
  .PasteChartDialog {
    @include isMobile {
      .Island {
        display: flex;
        flex-direction: column;
      }
    }
    .container {
      display: flex;
      align-items: center;
      justify-content: space-around;
      flex-wrap: wrap;
      @include isMobile {
        flex-direction: column;
        justify-content: center;
      }
    }
    .ChartPreview {
      margin: 8px;
      text-align: center;
      width: 192px;
      height: 128px;
      border-radius: 2px;
      padding: 1px;
      border: 1px solid $oc-gray-4;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      div {
        display: inline-block;
      }
      svg {
        max-height: 120px;
        max-width: 186px;
      }
      &:hover {
        padding: 0;
        border: 2px solid $oc-blue-5;
      }
    }
  }
}