Skip to content

Commit 0622bd7

Browse files
committed
Revert changes based on @Minasokoni's suggestion
1 parent 54b867a commit 0622bd7

File tree

4 files changed

+42
-23
lines changed

4 files changed

+42
-23
lines changed

dev-helpers/index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,24 @@
88
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" >
99
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
1010
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
11+
<style>
12+
html
13+
{
14+
box-sizing: border-box;
15+
overflow: -moz-scrollbars-vertical;
16+
overflow-y: scroll;
17+
}
18+
*,
19+
*:before,
20+
*:after
21+
{
22+
box-sizing: inherit;
23+
}
24+
body {
25+
margin:0;
26+
background: #fafafa;
27+
}
28+
</style>
1129
</head>
1230

1331
<body>

dist/index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,24 @@
88
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" >
99
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
1010
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
11+
<style>
12+
html
13+
{
14+
box-sizing: border-box;
15+
overflow: -moz-scrollbars-vertical;
16+
overflow-y: scroll;
17+
}
18+
*,
19+
*:before,
20+
*:after
21+
{
22+
box-sizing: inherit;
23+
}
24+
body {
25+
margin:0;
26+
background: #fafafa;
27+
}
28+
</style>
1129
</head>
1230

1331
<body>

src/style/_reset.scss

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/style/main.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
@import 'mixins';
2-
@import 'variables';
3-
@import 'colors';
4-
@import 'type';
5-
@import 'reset';
61

72
.swagger-ui
83
{
4+
@import 'mixins';
5+
@import 'variables';
6+
@import 'colors';
7+
@import 'type';
98
@import 'layout';
109
@import 'buttons';
1110
@import 'form';
@@ -16,4 +15,6 @@
1615
@import 'information';
1716
@import 'authorize';
1817
@import 'errors';
18+
19+
@include text_body();
1920
}

0 commit comments

Comments
 (0)