-
Notifications
You must be signed in to change notification settings - Fork 314
Closed
Description
Hello,
https://rapidocweb.com/api.html#att-layout describes response-area-height as follows:
| response-area-height | Allowed: valid css height value such as 400px, 50%, 60vh etc - Use this value to control the height of response textarea | 300px |
|---|
It was added for #110 , but it doesn't appear to do anything
Looking through the source, it is picked up:
responseAreaHeight: { type: String, attribute: 'response-area-height' }- https://github.com/rapi-doc/RapiDoc/blob/master/src/rapidoc.js#L64--resp-area-height: ${this.responseAreaHeight};- https://github.com/rapi-doc/RapiDoc/blob/master/src/utils/theme.js#L208
.multiline {
overflow: scroll;
max-height: var(--resp-area-height, 300px);
color: var(--fg3);
}
https://github.com/rapi-doc/RapiDoc/blob/master/src/styles/font-styles.js#L43
However multiline doesn't appear to be used as a class on the response areas (or anywhere else?). If I apply the multiline class to a response area then the setting does limit the height as expected.
Am I missing something or is this a bug?
Metadata
Metadata
Assignees
Labels
No labels