mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Small Swagger UI refinements
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user