mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 09:47:35 +00:00
Applications: Use native style sheet for WebViews where appropriate
This commit is contained in:
parent
7436f4fec2
commit
aae7905369
4 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,7 @@ HelpWindow::HelpWindow(GUI::Window* parent)
|
|||
m_listview->set_model(HelpListModel::create());
|
||||
|
||||
m_webview = splitter.add<WebView::OutOfProcessWebView>();
|
||||
m_webview->use_native_user_style_sheet();
|
||||
m_webview->on_link_click = [this](auto& url, auto&, auto&&) {
|
||||
VERIFY(url.scheme() == "spreadsheet");
|
||||
if (url.host().template has<String>() && url.host().template get<String>() == "example"sv) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue