Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HomeKitTile nicht zentriert, da plötzlich zusätzliche Werte? #1349

Closed
3 tasks
mcuiobroker opened this issue Dec 23, 2021 · 16 comments
Closed
3 tasks

HomeKitTile nicht zentriert, da plötzlich zusätzliche Werte? #1349

mcuiobroker opened this issue Dec 23, 2021 · 16 comments
Assignees
Labels
bug 🐛 Something isn't working Module HomeKitTile Module HomeKitTile

Comments

@mcuiobroker
Copy link
Collaborator

mcuiobroker commented Dec 23, 2021

HomeKitTile sind nicht mehr zentriert
image
Es wird in alle HomeKitTile plötzlich zusätzlich etwas rein geschrieben
Links habe ich alle Werte nicht eingetragen.
image
Auch, wenn man die linken Werte wieder raus nimmt, wird es nicht zentriert angezeigt.

  • linke Einstellungen wurde nicht angezeigt?
  • linke Einstellungen wurde per Programm zusätzlich hinzugefügt
  • Elemente Mitte nicht zentriert dargestellt
@mcuiobroker mcuiobroker added the bug 🐛 Something isn't working label Dec 23, 2021
@Zefau Zefau added the Module HomeKitTile Module HomeKitTile label Dec 23, 2021
@mcuiobroker
Copy link
Collaborator Author

mcuiobroker commented Dec 23, 2021

Vielleicht kann man beim Body-Element die Schrift noch vertikal zentrieren?
image

@Zefau
Copy link
Owner

Zefau commented Dec 23, 2021

sollte mit v3.0.0-beta.20 behoben sein

@mcuiobroker
Copy link
Collaborator Author

Werte werden wieder zentriert angezeigt, nur noch für Body-Element offen
image

@Zefau
Copy link
Owner

Zefau commented Dec 23, 2021

probier nochmal bitte mit v3.0.0-beta.21

@mcuiobroker
Copy link
Collaborator Author

Das sieht gut aus. Danke.
image

@SliX185
Copy link

SliX185 commented Dec 27, 2021

Leider hab auch ich immer noch Probleme mit der Zentrierung... ich hab gehofft es wär mit dem Issue behoben, leider nein.
jedoch sind bei mir die "Secondary States" nicht zentriert. Alle anderen auswählbaren Elemente werden zentriert.

config

tile3

...wobei der container anscheinend grundsätzlich zentriert ist.
tile2

und nochmal im gesamten.
tile1

@Zefau Zefau reopened this Dec 28, 2021
@Zefau
Copy link
Owner

Zefau commented Dec 28, 2021

schau bitte nochmal mit v3.0.1

@SliX185
Copy link

SliX185 commented Dec 28, 2021

Schaut gut aus! Besten Dank!

tile4

meckern auf hohen Niveau: Vertikal passt die Zentrierung, Horizontales spacing nicht ganz. bisschen zu tief... könnt ich aber leben mit ;)
tile5

@Zefau
Copy link
Owner

Zefau commented Dec 28, 2021

Bei mir passt es. Bei dir sehe ich auch, dass es nicht 100% zentriert ist. Kannst du die Ursache im DOM ausmachen? Ist irgendwo noch ein Spacing drin?

@SliX185
Copy link

SliX185 commented Dec 29, 2021

padding

.HomeKitTile.grid .center { margin: auto !important; }

... mit !important funktionierts, finde aber leider den Ursprung nicht.

@Zefau
Copy link
Owner

Zefau commented Dec 30, 2021

probier bitte nochmal mit v3.0.2-beta.0

@SliX185
Copy link

SliX185 commented Dec 31, 2021

Du hast jetzt das implementiert:

.HomeKitTile.grid .center { margin-left: auto !important; margin-right: auto !important; text-align: center; }

ändert leider nichts. "Fehlerbild" bleibt identisch.
funktioneren würde es mit:

.HomeKitTile.grid .center { margin: auto !important; text-align: center; }

oder auch alleinig mit margin-bottom:

.HomeKitTile.grid .center { margin-bottom: auto !important; text-align: center; }


=> Ursache wird aber die margin-bottom: 0; sein. Hat wohl ne höhere Prio. Wenn man die bottom margin raus nimmt, alles tip top.

.HomeKitTile.grid .bottom > div { margin-top: auto; margin-bottom: 0; }

@Zefau
Copy link
Owner

Zefau commented Dec 31, 2021

Ah okay

@Zefau
Copy link
Owner

Zefau commented Jan 1, 2022

probier bitte nochmal mit v3.0.2

@SliX185
Copy link

SliX185 commented Jan 1, 2022

... Erstmal wünsch ich Dir ein Gutes neues Jahr!

Tip Top! v3.0.2 funktioniert.

Besten Dank!

@Zefau
Copy link
Owner

Zefau commented Jan 1, 2022

Dir auch ein frohes Neues! :-)

@Zefau Zefau closed this as completed Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working Module HomeKitTile Module HomeKitTile
Projects
None yet
Development

No branches or pull requests

3 participants