diff --git a/docroot/style.css b/docroot/style.css index 8609876..ad13236 100644 --- a/docroot/style.css +++ b/docroot/style.css @@ -26,6 +26,8 @@ html, body { } .userlist-item { cursor: pointer; + display: block; + width: 100%; } .userlist-gender-M { background-color: #5078CD; diff --git a/src/app.cpp b/src/app.cpp index 2e79df3..3c2a903 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -262,9 +262,9 @@ void App::updateUserlist(Wt::Json::Array unsortedUserList) { userItem->clicked().connect([=, this]() { requestConversation(userName); }); - userItem->setInline(false); + Wt::WCssDecorationStyle style; } - layout->addWidget(std::make_unique(), 1)->setStyleClass("height-spacer"); + layout->addWidget(std::make_unique(), 1)->setStyleClass("height-spacer userlist"); triggerUpdate(); }