diff --git a/src/ui/web/css/themes/element/theme.css b/src/ui/web/css/themes/element/theme.css index f3440ef5..0bf46aef 100644 --- a/src/ui/web/css/themes/element/theme.css +++ b/src/ui/web/css/themes/element/theme.css @@ -364,8 +364,11 @@ a { font-weight: 600; } -.RoomHeader > :not(:first-child) { - margin-left: 8px; +.RoomHeader > :not(:last-child) { + /* use margin-right because the first item, + button.back might be hidden and then we don't + want a margin-left on the second item*/ + margin-right: 8px; } button.back {