diff --git a/docroot/style.css b/docroot/style.css index cf5251f..c9ea616 100644 --- a/docroot/style.css +++ b/docroot/style.css @@ -8,9 +8,15 @@ html, body { background: #ffffff; color: #005100; } +.header > div, +.header > span { + display: inline-block; + vertical-align: middle; +} h1 { padding: 0 0.5em; margin: 0; + display: inline-block; } .menu { background-color: #2E7D32; diff --git a/src/app.cpp b/src/app.cpp index dd0c273..d4685c8 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -117,7 +117,12 @@ Wt::WHBoxLayout *App::createActionLayout(Wt::WVBoxLayout *verticalContainer) { void App::createHeadContainer(Wt::WVBoxLayout *layout) { auto header = layout->addNew(); - header->addNew("

ypChat

"); + header->addNew("

ypChat

")->setInline(true); + header->addNew((std::string)"" + + " " + + "", Wt::TextFormat::UnsafeXHTML) + ->setInline(true); header->setStyleClass("header"); }