summaryrefslogtreecommitdiffstats
path: root/src/components/Content/Content.module.scss
blob: 8908516e4781596ef39adcd0c8232dd807174d22 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  overflow: hidden;
}

.header {
  flex-shrink: 0;
  flex-grow: 0;
  width: 100%;
  display: flex;
  padding: 0.5em;
  background-color: black;
  color: white;
}

.body {
  flex-grow: 1;
  flex-shrink: 1;
  overflow-y: auto;

  pre {
    width: 100%;
    height: 100%;
    padding: 1em;
    font-family: monospace;
    overflow: auto;
  }

  iframe {
    height: 100%;
    width: 100%;
  }
}

.renderError {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;

  a {
    margin-top: 1em;
    text-decoration: underline;
    color: blue;
  }
}