|
1 | 1 | /* eslint-disable lit-a11y/click-events-have-key-events */
|
2 | 2 | /* eslint-disable no-param-reassign */
|
3 | 3 | /* eslint-disable class-methods-use-this */
|
4 |
| -import { LitElement, html } from 'lit-element'; |
5 |
| -import { unsafeHTML } from 'lit-html/directives/unsafe-html.js'; |
6 |
| -import { AmfHelperMixin } from '@api-components/amf-helper-mixin'; |
7 |
| -import markdownStyles from '@advanced-rest-client/markdown-styles/markdown-styles.js'; |
8 |
| -import labelStyles from '@api-components/http-method-label/http-method-label-common-styles.js'; |
9 |
| -import sanitizer from 'dompurify'; |
10 |
| -import '@advanced-rest-client/arc-marked/arc-marked.js'; |
11 |
| -import '@api-components/api-method-documentation/api-url.js'; |
12 |
| -import styles from './Styles.js'; |
| 4 | +import { LitElement, html } from "lit-element"; |
| 5 | +import { unsafeHTML } from "lit-html/directives/unsafe-html.js"; |
| 6 | +import { AmfHelperMixin } from "@api-components/amf-helper-mixin"; |
| 7 | +import markdownStyles from "@advanced-rest-client/markdown-styles/markdown-styles.js"; |
| 8 | +import labelStyles from "@api-components/http-method-label/http-method-label-common-styles.js"; |
| 9 | +import sanitizer from "dompurify"; |
| 10 | +import "@advanced-rest-client/arc-marked/arc-marked.js"; |
| 11 | +import "@api-components/api-method-documentation/api-url.js"; |
| 12 | +import styles from "./Styles.js"; |
13 | 13 |
|
14 | 14 | /** @typedef {import('lit-element').TemplateResult} TemplateResult */
|
15 | 15 |
|
@@ -424,7 +424,7 @@ export class ApiSummary extends AmfHelperMixin(LitElement) {
|
424 | 424 | const serverNameTemplate = this._serverNameTemplate(server);
|
425 | 425 | const serverTagsTemplate = this._serverTagsTemplate(server);
|
426 | 426 | const listItemClass = description ? "" : "without-description";
|
427 |
| - return html`<li class=${listItemClass}> |
| 427 | + return html`<li class="server-item ${listItemClass}"> |
428 | 428 | ${serverNameTemplate} ${uri} ${serverTagsTemplate}
|
429 | 429 | <arc-marked
|
430 | 430 | .markdown=${description}
|
@@ -468,7 +468,7 @@ export class ApiSummary extends AmfHelperMixin(LitElement) {
|
468 | 468 | this._getAmfKey(this.ns.aml.vocabularies.core.name)
|
469 | 469 | );
|
470 | 470 |
|
471 |
| - return html`<span class="server-name">${serverName}</span>` |
| 471 | + return html`<span class="server-name">${serverName}</span>`; |
472 | 472 | }
|
473 | 473 |
|
474 | 474 | /**
|
|
0 commit comments