move redoc-related styling into redoc css

This commit is contained in:
Roman Hotsiy 2016-01-12 01:07:36 +02:00
parent fb9f0fbe97
commit 50ea735e7b
2 changed files with 23 additions and 21 deletions

View File

@ -7,10 +7,6 @@ body {
padding-top: 50px;
}
p {
margin: 0;
}
nav input, nav button {
font-size: 16px;
height: 28px;
@ -50,20 +46,3 @@ nav {
top: 0;
z-index: 1;
}
redoc {
display: block;
box-sizing: border-box;
}
pre {
white-space: pre-wrap;
background-color: #f2f2f2;
padding: 10px;
overflow-x: auto;
line-height: normal;
}
code {
background-color: #f2f2f2;
}

View File

@ -1,5 +1,28 @@
@import '../../common/styles/variables';
:host {
display: block;
box-sizing: border-box;
}
:host {
pre {
white-space: pre-wrap;
background-color: #f2f2f2;
padding: 10px;
overflow-x: auto;
line-height: normal;
}
code {
background-color: #f2f2f2;
}
p {
margin: 0;
}
}
.redoc-wrap {
position: relative;
}