Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GNOME 46 #44

Merged
merged 11 commits into from
Apr 22, 2024
Prev Previous commit
Next Next commit
WebView: Fix cookies, fix add-site page
cassidyjames committed Apr 22, 2024
commit da79a22295270fedd446ab2128932d6eefe08c58
12 changes: 7 additions & 5 deletions src/Widgets/WebView.vala
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@ public class Plausible.WebView : WebKit.WebView {
Object (
hexpand: true,
vexpand: true,
network_session: new WebKit.NetworkSession (null, null),
user_content_manager: new WebKit.UserContentManager ()
);
}
@@ -38,18 +39,19 @@ public class Plausible.WebView : WebKit.WebView {
cursor: default;
}
body > div:not(:first-child) {
display: none;
}
body > nav {
display: none;
}
main {
body > main {
margin-top: -1.5em;
}
/* Footer */
body > main + div {
display: none;
}
button,
[role=button],
.button,