Skip to content

Commit

Permalink
add checkbox tto Mathsci
Browse files Browse the repository at this point in the history
  • Loading branch information
jiandandaoxingfu committed Oct 1, 2021
1 parent 64d5c7b commit 361d075
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pages/references-info/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@
.doc .mytitle {
font-size: 25px;
}

.doc .record {
margin-bottom: 20px;
}


.record input {
height: 25px;
width: 25px;
display: block;
position: absolute;
left: -30px;
}
1 change: 1 addition & 0 deletions pages/references-info/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class App {
div.setAttribute('id', `record-${i + 1}`);
div.setAttribute('class', `record`);
div.innerHTML = `
<input type="checkbox" />
<div class="title mytitle">
<span>${i + 1}: ${this.title_arr[i]}<span/>
</div>
Expand Down

0 comments on commit 361d075

Please sign in to comment.