File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -398,8 +398,10 @@ export class ApiSummary extends AmfHelperMixin(LitElement) {
398398 const { baseUri, protocols } = this ;
399399 const uri = this . _computeBaseUri ( server , baseUri , protocols ) ;
400400 const description = this . _computeDescription ( server ) ;
401- const serverItem = `${ uri } ${ description ? ` - ${ description } ` : '' } `
402- return html `< li > ${ serverItem } </ li > ` ;
401+ return html `< li >
402+ ${ uri }
403+ < div class ="server-description "> ${ description } </ div >
404+ </ li > ` ;
403405 }
404406
405407 /**
Original file line number Diff line number Diff line change @@ -165,4 +165,10 @@ a:hover {
165165 font-weight : 700 ;
166166 margin : 0.8em 0 0.2em 0 ;
167167}
168+
169+ .server-description {
170+ display : block;
171+ font-size : var (--api-summary-server-description-font-size , 12px );
172+ font-weight : var (--api-summary-server-description-font-weight , 600 );
173+ }
168174` ;
You can’t perform that action at this time.
0 commit comments