Add preview of patches without having to load file

This commit is contained in:
Will Toohey
2021-02-23 23:34:40 +10:00
parent a4f9140248
commit 5bb404f787
2 changed files with 43 additions and 15 deletions
+20 -1
View File
@@ -155,6 +155,12 @@ h3 {
line-height: 1.2;
}
h4,
h5 {
line-height: 1;
margin: 10px auto;
}
h1 {
text-align: center;
}
@@ -257,7 +263,7 @@ input[type=radio] {
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: block;
height: auto;
position: absolute;
@@ -287,3 +293,16 @@ input[type=radio] {
cursor: pointer;
display: inline-block;
}
.patchPreviewLabel {
cursor: pointer;
}
.patchPreviewToggle {
display: none;
}
.patchPreview {
display: none;
}
input[type=checkbox]:checked + .patchPreview {
display: block;
}