Skip to content

Commit

Permalink
fix: add styleOverride prop to stacinfo (#390)
Browse files Browse the repository at this point in the history
* fix: add styleOverride prop to stacinfo
  • Loading branch information
lubojr authored Nov 7, 2023
1 parent 8fe9c08 commit 7bff624
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions elements/stacinfo/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ export class EOxStacInfo extends LitElement {
@property({ type: Array })
footer: Array<string> = [];

@property({ attribute: "style-override" })
styleOverride: string = "";

@state()
stacInfo: Array<typeof STAC> = [];

Expand Down Expand Up @@ -227,6 +230,7 @@ export class EOxStacInfo extends LitElement {
<style>
${style}
${!this.unstyled && styleEOX}
${this.styleOverride}
</style>
<slot></slot>
${this.buildProperties(this.stacInfo)}
Expand Down

0 comments on commit 7bff624

Please sign in to comment.