This commit is contained in:
parent
a7a6312c0a
commit
f30ddefb11
@ -78,7 +78,6 @@ void Application::handlePathChange(const std::string &path) {
|
|||||||
LOG(info) << "handlePathChange: " << path;
|
LOG(info) << "handlePathChange: " << path;
|
||||||
if (path.starts_with("/wt/login") || path.starts_with("/wt/register")) {
|
if (path.starts_with("/wt/login") || path.starts_with("/wt/register")) {
|
||||||
m_root->clear();
|
m_root->clear();
|
||||||
m_root->setStyleClass("WtCenterContainer");
|
|
||||||
m_root->addNew<LoginPage>(m_session->users(), m_session->login());
|
m_root->addNew<LoginPage>(m_session->users(), m_session->login());
|
||||||
} else if (path.starts_with("/wt/visitor/analysis")) {
|
} else if (path.starts_with("/wt/visitor/analysis")) {
|
||||||
m_root->clear();
|
m_root->clear();
|
||||||
|
@ -1,10 +1,3 @@
|
|||||||
.WtCenterContainer {
|
|
||||||
display: flex;
|
|
||||||
flex: 1;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.Wt-itemview .Wt-headerdiv {
|
.Wt-itemview .Wt-headerdiv {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user