Skip to content

Commit

Permalink
🐛 ::after and display: block for checkboxes with some themes
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Jun 16, 2023
1 parent e4195c1 commit 76f1751
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Expand Up @@ -5,7 +5,7 @@

version: 2
updates:
- package-ecosystem: "" # See documentation for possible values
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Expand Up @@ -21,9 +21,10 @@ jobs:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: '16.7'
cache: 'npm'

- name: Build and Test
id: build
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Expand Up @@ -28,9 +28,10 @@ jobs:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo

- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: '16.7'
cache: 'npm'

# Build the plugin
- name: Build and Tag
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -7,6 +7,7 @@

# npm
node_modules
target

# build
dist
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions src/templates/CHECKBOXES.eta
Expand Up @@ -105,9 +105,10 @@ li[data-task="<%~ ts.data %>"] > p > input[type=checkbox]:checked {
border: 0px;
<% } %>
}
input[type=checkbox][data-task="<%~ ts.data %>"]:checked:after,
li[data-task="<%~ ts.data %>"] > input[type=checkbox]:checked:after,
li[data-task="<%~ ts.data %>"] > p > input[type=checkbox]:checked:after {
input[type=checkbox][data-task="<%~ ts.data %>"]:checked::after,
li[data-task="<%~ ts.data %>"] > input[type=checkbox]:checked::after,
li[data-task="<%~ ts.data %>"] > p > input[type=checkbox]:checked::after {
display: block;
transform: none;
-webkit-mask-image: none;
background: unset;
Expand Down

0 comments on commit 76f1751

Please sign in to comment.