diff --git a/src/resources/themes/v_detorte/v_detorte.css b/src/resources/themes/v_detorte/v_detorte.css index c7053108..729bf330 100644 --- a/src/resources/themes/v_detorte/v_detorte.css +++ b/src/resources/themes/v_detorte/v_detorte.css @@ -85,6 +85,11 @@ p, ul, ol { line-height: 24px; } +mark { + color: #000000; + background-color: #D8D800; +} + pre { display: block; overflow-y: hidden; diff --git a/src/resources/themes/v_moonlight/v_moonlight.css b/src/resources/themes/v_moonlight/v_moonlight.css index b10eb5da..974a1f90 100644 --- a/src/resources/themes/v_moonlight/v_moonlight.css +++ b/src/resources/themes/v_moonlight/v_moonlight.css @@ -81,6 +81,11 @@ p, ul, ol { line-height: 24px; } +mark { + color: #000000; + background-color: #C4C400; +} + pre { display: block; overflow-y: hidden; diff --git a/src/vfilelist.cpp b/src/vfilelist.cpp index cda755f5..4a2c72c6 100644 --- a/src/vfilelist.cpp +++ b/src/vfilelist.cpp @@ -69,6 +69,7 @@ void VFileList::setupUI() QPushButton *viewBtn = new QPushButton(VIconUtils::buttonIcon(":/resources/icons/view.svg"), "", this); viewBtn->setToolTip(tr("View")); viewBtn->setProperty("CornerBtn", true); + viewBtn->setFocusPolicy(Qt::NoFocus); QMenu *viewMenu = new QMenu(this); connect(viewMenu, &QMenu::aboutToShow,