Browse Source

Increase highlight selector specificity

pull/46/head
coomdev 2 years ago
parent
commit
7ebbb55bc6
  1. 2
      main.meta.js
  2. 5
      main.user.js
  3. 3
      src/main.ts

2
main.meta.js

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name PNGExtraEmbed // @name PNGExtraEmbed
// @namespace https://coom.tech/ // @namespace https://coom.tech/
// @version 0.52 // @version 0.53
// @description uhh // @description uhh
// @author You // @author You
// @match https://boards.4channel.org/* // @match https://boards.4channel.org/*

5
main.user.js

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name PNGExtraEmbed // @name PNGExtraEmbed
// @namespace https://coom.tech/ // @namespace https://coom.tech/
// @version 0.52 // @version 0.53
// @description uhh // @description uhh
// @author You // @author You
// @match https://boards.4channel.org/* // @match https://boards.4channel.org/*
@ -13452,7 +13452,8 @@
cursor: pointer; cursor: pointer;
} }
.hasembed {
.postContainer > div.hasembed {
border-right: 3px dashed deeppink !important; border-right: 3px dashed deeppink !important;
} }

3
src/main.ts

@ -407,7 +407,8 @@ customStyles.appendChild(document.createTextNode(
cursor: pointer; cursor: pointer;
} }
.hasembed {
.postContainer > div.hasembed {
border-right: 3px dashed deeppink !important; border-right: 3px dashed deeppink !important;
} }

Loading…
Cancel
Save