Skip to content

Commit 5570d24

Browse files
committed
Unify wide tables on open and asyncapi pages
1 parent d84237d commit 5570d24

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

advanced/publishing-apis/asyncapi.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,10 @@ synopsis: >
55
status: released
66
---
77

8-
<style scoped>
8+
<style >
99
/* expand this extra wide table on big screens */
1010
@media screen and (min-width: 1600px) {
11-
table {
12-
min-width: fit-content;
13-
width: max-content;
14-
position: relative; z-index: 10; /* make the wide table flow over the aside section on the right */
15-
}
11+
table { width: max-content; }
1612
}
1713
</style>
1814

@@ -112,7 +108,7 @@ service CatalogService {
112108

113109
## Extensions { #extensions}
114110

115-
`@AsyncAPI.Extensions` can be used to provide arbitrary extensions.
111+
`@AsyncAPI.Extensions` can be used to provide arbitrary extensions.
116112
If a specific annotation exists for a given extension, it takes precedence over the definition using @AsyncAPI.Extensions.
117113
For example, if both `@AsyncAPI.ShortText` and `@AsyncAPI.Extensions: { ![sap-shortText]: 'baz' }` are provided, the value from `@AsyncAPI.ShortText` will override the one defined in @AsyncAPI.Extensions.
118114

advanced/publishing-apis/openapi.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ synopsis: >
55
status: released
66
---
77

8+
<style scoped>
9+
/* expand this extra wide table on big screens */
10+
@media screen and (min-width: 1600px) {
11+
table { width: max-content; }
12+
}
13+
</style>
14+
15+
816
# Publishing to OpenAPI
917

1018
You can convert CDS models to the [OpenAPI Specification](https://www.openapis.org), a widely adopted API description standard.

0 commit comments

Comments
 (0)