fix: person bricks should center name

otherwise bricks are at the left and -50% translateY puts them
off-center, while centering long name
This commit is contained in:
efim
2023-11-22 06:14:58 +00:00
parent f4c331983c
commit fad258a537
4 changed files with 51 additions and 58 deletions

View File

@@ -215,15 +215,15 @@ func roomTemplatesPreview(
var person1 = rooms.Person{
Id: rooms.PersonId(100),
Name: "test person 1",
Name: "test person name 1",
}
var person2 = rooms.Person{
Id: rooms.PersonId(200),
Name: "test person 2",
Name: "test person name 2",
}
var person3 = rooms.Person{
Id: rooms.PersonId(300),
Name: "test person 3",
Name: "test person name 3",
}
aRoom := rooms.Room{
Name: "test",