Skip to content

Commit

Permalink
WebView: Fix cookies, fix add-site page
Browse files Browse the repository at this point in the history
  • Loading branch information
cassidyjames committed Apr 22, 2024
1 parent 9e62c7d commit da79a22
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/Widgets/WebView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
);
}
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit da79a22

Please sign in to comment.