web: replace spaces after icons with nbsp
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -14,7 +14,7 @@ export abstract class Page extends LitElement { | ||||
|         return html`<section class="pf-c-page__main-section pf-m-light"> | ||||
|                 <div class="pf-c-content"> | ||||
|                     <h1> | ||||
|                         <i class="${this.pageIcon()}"></i> | ||||
|                         <i class="${this.pageIcon()}"></i>  | ||||
|                         ${t`${this.pageTitle()}`} | ||||
|                     </h1> | ||||
|                     ${description ? html`<p>${t`${description}`}</p>` : html``} | ||||
|  | ||||
| @ -46,7 +46,7 @@ export class AggregateCard extends LitElement { | ||||
|         return html`<div class="pf-c-card pf-c-card-aggregate"> | ||||
|             <div class="pf-c-card__header pf-l-flex pf-m-justify-content-space-between"> | ||||
|                 <div class="pf-c-card__header-main"> | ||||
|                     <i class="${ifDefined(this.icon)}"></i> ${this.header ? this.header : ""} | ||||
|                     <i class="${ifDefined(this.icon)}"></i> ${this.header ? this.header : ""} | ||||
|                 </div> | ||||
|                 ${this.renderHeaderLink()} | ||||
|             </div> | ||||
|  | ||||
| @ -14,7 +14,7 @@ export class AggregatePromiseCard extends AggregateCard { | ||||
|             return new Promise<TemplateResult>(() => html``); | ||||
|         } | ||||
|         return this.promise.then(s => { | ||||
|             return html`<i class="fa fa-check-circle"></i> ${s.toString()}`; | ||||
|             return html`<i class="fa fa-check-circle"></i> ${s.toString()}`; | ||||
|         }); | ||||
|     } | ||||
|  | ||||
|  | ||||
| @ -199,7 +199,7 @@ export abstract class Table<T> extends LitElement { | ||||
|                         this.expandedRows[idx] = !this.expandedRows[idx]; | ||||
|                         this.requestUpdate(); | ||||
|                     }}> | ||||
|                         <div class="pf-c-table__toggle-icon"> <i class="fas fa-angle-down" aria-hidden="true"></i> </div> | ||||
|                         <div class="pf-c-table__toggle-icon"> <i class="fas fa-angle-down" aria-hidden="true"></i> </div> | ||||
|                     </button> | ||||
|                     </td>` : html``} | ||||
|                     ${this.row(item).map((col) => { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer