Fossil SCM

Pedantic CSS tweaks.

stephan 2020-09-17 17:17 trunk
Commit 5b93a4da7304df337c475ae220a6e388d0b4c8fc33aeb57cfc5f82e99d66ac1c
1 file changed +4 -5
--- src/fossil.pikchr.js
+++ src/fossil.pikchr.js
@@ -64,15 +64,14 @@
6464
}
6565
.pikchr-copy-button {
6666
min-width: ${wh}; max-width: ${wh};
6767
min-height: ${wh}; max-height: ${wh};
6868
display: inline-block;
69
- position: absolute;
70
- top: calc(${wh} * 1.3);
71
- left: 0;
72
- z-index: 50;
73
- padding: 0; margin: 0;
69
+}
70
+.pikchr-button-bar > .pikchr-src-button,
71
+.pikchr-button-bar > .pikchr-copy-button {
72
+ margin-bottom: 0.3em;
7473
}
7574
`;
7675
head.appendChild(styleTag);
7776
/* Adapted from https://stackoverflow.com/a/524721 */
7877
styleTag.type = 'text/css';
7978
--- src/fossil.pikchr.js
+++ src/fossil.pikchr.js
@@ -64,15 +64,14 @@
64 }
65 .pikchr-copy-button {
66 min-width: ${wh}; max-width: ${wh};
67 min-height: ${wh}; max-height: ${wh};
68 display: inline-block;
69 position: absolute;
70 top: calc(${wh} * 1.3);
71 left: 0;
72 z-index: 50;
73 padding: 0; margin: 0;
74 }
75 `;
76 head.appendChild(styleTag);
77 /* Adapted from https://stackoverflow.com/a/524721 */
78 styleTag.type = 'text/css';
79
--- src/fossil.pikchr.js
+++ src/fossil.pikchr.js
@@ -64,15 +64,14 @@
64 }
65 .pikchr-copy-button {
66 min-width: ${wh}; max-width: ${wh};
67 min-height: ${wh}; max-height: ${wh};
68 display: inline-block;
69 }
70 .pikchr-button-bar > .pikchr-src-button,
71 .pikchr-button-bar > .pikchr-copy-button {
72 margin-bottom: 0.3em;
 
73 }
74 `;
75 head.appendChild(styleTag);
76 /* Adapted from https://stackoverflow.com/a/524721 */
77 styleTag.type = 'text/css';
78

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button