Skip to content

Commit 76f1751

Browse files
committed
πŸ› ::after and display: block for checkboxes with some themes
1 parent e4195c1 commit 76f1751

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

β€Ž.github/dependabot.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "" # See documentation for possible values
8+
- package-ecosystem: "npm" # See documentation for possible values
99
directory: "/" # Location of package manifests
1010
schedule:
1111
interval: "weekly"

β€Ž.github/workflows/build.ymlβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ jobs:
2121
- uses: actions/checkout@v2
2222

2323
- name: Use Node.js
24-
uses: actions/setup-node@v2
24+
uses: actions/setup-node@v3
2525
with:
2626
node-version: '16.7'
27+
cache: 'npm'
2728

2829
- name: Build and Test
2930
id: build

β€Ž.github/workflows/release.ymlβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ jobs:
2828
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
2929

3030
- name: Use Node.js
31-
uses: actions/setup-node@v1
31+
uses: actions/setup-node@v3
3232
with:
3333
node-version: '16.7'
34+
cache: 'npm'
3435

3536
# Build the plugin
3637
- name: Build and Tag

β€Ž.gitignoreβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
# npm
99
node_modules
10+
target
1011

1112
# build
1213
dist

β€Žpackage-lock.jsonβ€Ž

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žsrc/templates/CHECKBOXES.etaβ€Ž

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,10 @@ li[data-task="<%~ ts.data %>"] > p > input[type=checkbox]:checked {
105105
border: 0px;
106106
<% } %>
107107
}
108-
input[type=checkbox][data-task="<%~ ts.data %>"]:checked:after,
109-
li[data-task="<%~ ts.data %>"] > input[type=checkbox]:checked:after,
110-
li[data-task="<%~ ts.data %>"] > p > input[type=checkbox]:checked:after {
108+
input[type=checkbox][data-task="<%~ ts.data %>"]:checked::after,
109+
li[data-task="<%~ ts.data %>"] > input[type=checkbox]:checked::after,
110+
li[data-task="<%~ ts.data %>"] > p > input[type=checkbox]:checked::after {
111+
display: block;
111112
transform: none;
112113
-webkit-mask-image: none;
113114
background: unset;

0 commit comments

Comments
Β (0)