Skip to content

Commit

Permalink
Remove excessive css for titles
Browse files Browse the repository at this point in the history
  • Loading branch information
danyill committed Mar 12, 2023
1 parent ce1a428 commit fb3eb30
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 19 deletions.
4 changes: 0 additions & 4 deletions src/editors/subscription/fcda-binding-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,7 @@ export class FcdaBindingList extends LitElement {
${styles}
h3 {
color: var(--mdc-theme-on-surface);
font-family: 'Roboto', sans-serif;
font-weight: 300;
margin: 4px 8px 16px;
padding-left: 0.3em;
}
mwc-list-item.hidden[noninteractive] + li[divider] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -560,11 +560,7 @@ export class ExtRefLaterBindingListSubscriber extends LitElement {
}
h3 {
color: var(--mdc-theme-on-surface);
font-family: 'Roboto', sans-serif;
font-weight: 300;
margin: 4px 8px 16px;
padding-left: 0.3em;
}
mwc-list-item.hidden[noninteractive] + li[divider] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -312,24 +312,24 @@ export class ExtRefLaterBindingList extends LitElement {

render(): TemplateResult {
return html` <section tabindex="0">
${this.renderTitle()}
${this.currentSelectedControlElement && this.currentSelectedFcdaElement
? html`
${this.renderTitle()}
<filtered-list>
${this.renderSubscribedExtRefs()} ${this.renderAvailableExtRefs()}
</filtered-list>
`
: html`
<h1>
${translate('subscription.laterBinding.extRefList.noSelection')}
</h1>
`}
? html`<filtered-list>
${this.renderSubscribedExtRefs()} ${this.renderAvailableExtRefs()}
</filtered-list>`
: html`<h3>
${translate('subscription.laterBinding.extRefList.noSelection')}
</h3>`}
</section>`;
}

static styles = css`
${styles}
h3 {
margin: 4px 8px 16px;
}
mwc-list-item.hidden[noninteractive] + li[divider] {
display: none;
}
Expand Down

0 comments on commit fb3eb30

Please sign in to comment.