Fossil SCM
Pedantic CSS tweaks.
Commit
5b93a4da7304df337c475ae220a6e388d0b4c8fc33aeb57cfc5f82e99d66ac1c
Parent
d369f4f389c6a44…
1 file changed
+4
-5
+4
-5
| --- src/fossil.pikchr.js | ||
| +++ src/fossil.pikchr.js | ||
| @@ -64,15 +64,14 @@ | ||
| 64 | 64 | } |
| 65 | 65 | .pikchr-copy-button { |
| 66 | 66 | min-width: ${wh}; max-width: ${wh}; |
| 67 | 67 | min-height: ${wh}; max-height: ${wh}; |
| 68 | 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; | |
| 69 | +} | |
| 70 | +.pikchr-button-bar > .pikchr-src-button, | |
| 71 | +.pikchr-button-bar > .pikchr-copy-button { | |
| 72 | + margin-bottom: 0.3em; | |
| 74 | 73 | } |
| 75 | 74 | `; |
| 76 | 75 | head.appendChild(styleTag); |
| 77 | 76 | /* Adapted from https://stackoverflow.com/a/524721 */ |
| 78 | 77 | styleTag.type = 'text/css'; |
| 79 | 78 |
| --- 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 |