Skip to content

Commit

Permalink
feat: changed selected time label to be between buttons, added center…
Browse files Browse the repository at this point in the history
…ing style (#1252)
  • Loading branch information
santilland authored Sep 23, 2024
1 parent a241bd3 commit 02b66a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions elements/timecontrol/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,12 @@ export class EOxTimeControl extends LitElement {
>
<
</button>
<span part="current">${this.controlValues[this._newStepIndex]}</span>
<button part="next" class="icon next" @click="${() => this.next()}">
>
</button>
</div>
<div>
${!this.disablePlay
? html`
<button
Expand Down Expand Up @@ -334,8 +337,6 @@ export class EOxTimeControl extends LitElement {
</div>
`
: ""}
<span part="current">${this.controlValues[this._newStepIndex]}</span>
</div>
</main>
`;
Expand Down
4 changes: 4 additions & 0 deletions elements/timecontrol/src/style.eox.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ export const styleEOX = `
font-family: Roboto, sans-serif;
}
main {
text-align: center;
}
${button}
button.icon-text.play:before {
Expand Down

0 comments on commit 02b66a8

Please sign in to comment.