From b065f5c9a26f03044d59ff8484211a0d86bfefae Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Fri, 11 Aug 2023 18:31:13 +0800 Subject: [PATCH] ui/map: fix CSS error (#29332) fix css error old-commit-hash: 4a89928a9a1eebcf46e789a2df037af66b087252 --- selfdrive/ui/qt/maps/map.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/maps/map.cc b/selfdrive/ui/qt/maps/map.cc index 6e0053b13f..c971bf9c0b 100644 --- a/selfdrive/ui/qt/maps/map.cc +++ b/selfdrive/ui/qt/maps/map.cc @@ -35,7 +35,7 @@ MapWindow::MapWindow(const QMapboxGLSettings &settings) : m_settings(settings), map_eta->setFixedHeight(120); error = new QLabel(this); - error->setStyleSheet(R"(color:white;padding:50px 11px;font-size: 90px; background-color:rgb(0, 0, 0, 150);)"); + error->setStyleSheet(R"(color:white;padding:50px 11px;font-size: 90px; background-color:rgba(0, 0, 0, 150);)"); error->setAlignment(Qt::AlignCenter); overlay_layout->addWidget(error);