Small Swagger UI refinements

This commit is contained in:
Bernd Bestel
2019-09-19 19:53:46 +02:00
parent 58a69d650f
commit 412653d67d
3 changed files with 26 additions and 7 deletions

View File

@@ -24,6 +24,28 @@
Grocy.OpenApi = { };
Grocy.OpenApi.SpecUrl = '{{ $U('/api/openapi/specification') }}';
</script>
<style>
.servers-title,
.servers,
.url {
display: none !important;
}
.swagger-ui .info {
margin-bottom: 0 !important;
}
.scheme-container {
padding-top: 0 !important;
}
.swagger-ui .scheme-container {
box-shadow: none !important;
-webkit-box-shadow: none !important;
border-bottom: 1px solid rgba(59, 65, 81, 0.3) !important;
}
</style>
</head>
<body>