forked from MapComplete/MapComplete
Style: better styling of translate buttons, hide translate buttons where not applicable
This commit is contained in:
parent
f0f0292d0c
commit
08a604c3f5
10 changed files with 22 additions and 16 deletions
|
@ -48,6 +48,7 @@ export default class OpeningHoursPickerTable extends InputElement<OpeningHour[]>
|
|||
protected InnerConstructElement(): HTMLElement {
|
||||
const table = document.createElement("table")
|
||||
table.classList.add("oh-table")
|
||||
table.classList.add("no-weblate")
|
||||
table.classList.add("relative") // Workaround for webkit-based viewers, see #1019
|
||||
|
||||
const cellHeightInPx = 14
|
||||
|
|
|
@ -76,6 +76,7 @@ export default class OpeningHoursVisualization extends Toggle {
|
|||
new Loading(Translations.t.general.opening_hours.loadingCountry),
|
||||
tags.map((tgs) => tgs._country !== undefined)
|
||||
)
|
||||
this.SetClass("no-weblate")
|
||||
}
|
||||
|
||||
private static CreateFullVisualisation(oh: any): BaseUIElement {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue