Extract Swagger CSS to its own file (#12616)

This commit is contained in:
silverwind 2020-08-26 19:42:46 +02:00 committed by GitHub
parent 65444c5ea3
commit e25d4867be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 27 deletions

View file

@ -0,0 +1,31 @@
html {
box-sizing: border-box;
overflow-y: scroll;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
body {
margin: 0;
background: #fff;
}
.swagger-back-link {
color: #1f69c0;
text-decoration: none;
position: absolute;
top: 1rem;
right: 1.5rem;
display: flex;
align-items: center;
}
.swagger-back-link svg {
color: inherit;
fill: currentColor;
margin-right: .5rem;
}