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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user