Fossil SCM
Cherry-pick [787650c36a]: Minimize impact of the SVG icon on line height.
Commit
0a9f12ce6655b7a5219be8f168bba54eb9fcdc3f76cb47cf057cf3c58e84ec19
Parent
b5bbad23b49a258…
1 file changed
+3
-3
+3
-3
| --- src/default_css.txt | ||
| +++ src/default_css.txt | ||
| @@ -770,16 +770,16 @@ | ||
| 770 | 770 | white-space: nowrap; |
| 771 | 771 | } |
| 772 | 772 | .copy-button { |
| 773 | 773 | display: inline-block; |
| 774 | 774 | width: 14px; |
| 775 | - height: 16px; | |
| 776 | - margin: 0; | |
| 775 | + height: 14px; | |
| 776 | + margin: -2px 0 0 0; | |
| 777 | 777 | padding: 0; |
| 778 | 778 | border: 0; |
| 779 | 779 | vertical-align: middle; |
| 780 | 780 | //Note: the mkcss utility does not support line breaks in data URIs. |
| 781 | - background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath style='fill: black; opacity:0' d='M 14 16 H 0 V 0 h 14 v 16 z'/%3E%3Cpath style='fill:rgb(240,240,240)' d='M 1 0 h 6.6 l 2 2 h 1 l 3.4 3.4 v 8.6 h -10 v -2 h -3 z'/%3E%3Cpath style='fill:rgb(64,64,64)' d='M 2 1 h 5 l 3 3 v 7 h -8 z'/%3E%3Cpath style='fill:rgb(248,248,248)' d='M 3 2 h 3.6 l 2.4 2.4 v 5.6 h -6 z'/%3E%3Cpath style='fill:rgb(80,128,208)' d='M 4 5 h 4 v 1 h -4 z m 0 2 h 4 v 1 h -4 z'/%3E%3Cpath style='fill:rgb(64,64,64)' d='M 5 3 h 5 l 3 3 v 7 h -8 z'/%3E%3Cpath style='fill:rgb(248,248,248)' d='M 10 4.4 v 1.6 h 1.6 z m -4 -0.6 h 3 v 3 h -3 z m 0 3 h 6 v 5.4 h -6 z'/%3E%3Cpath style='fill:rgb(80,128,208)' d='M 7 8 h 4 v 1 h -4 z m 0 2 h 4 v 1 h -4 z'/%3E%3C/svg%3E"); | |
| 781 | + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath style='fill: black; opacity:0' d='M 14 14 H 0 V 0 h 14 v 14 z'/%3E%3Cpath style='fill:rgb(240,240,240)' d='M 1 0 h 6.6 l 2 2 h 1 l 3.4 3.4 v 8.6 h -10 v -2 h -3 z'/%3E%3Cpath style='fill:rgb(64,64,64)' d='M 2 1 h 5 l 3 3 v 7 h -8 z'/%3E%3Cpath style='fill:rgb(248,248,248)' d='M 3 2 h 3.6 l 2.4 2.4 v 5.6 h -6 z'/%3E%3Cpath style='fill:rgb(80,128,208)' d='M 4 5 h 4 v 1 h -4 z m 0 2 h 4 v 1 h -4 z'/%3E%3Cpath style='fill:rgb(64,64,64)' d='M 5 3 h 5 l 3 3 v 7 h -8 z'/%3E%3Cpath style='fill:rgb(248,248,248)' d='M 10 4.4 v 1.6 h 1.6 z m -4 -0.6 h 3 v 3 h -3 z m 0 3 h 6 v 5.4 h -6 z'/%3E%3Cpath style='fill:rgb(80,128,208)' d='M 7 8 h 4 v 1 h -4 z m 0 2 h 4 v 1 h -4 z'/%3E%3C/svg%3E"); | |
| 782 | 782 | background-repeat: no-repeat; |
| 783 | 783 | background-position: center; |
| 784 | 784 | cursor: pointer; |
| 785 | 785 | } |
| 786 | 786 |
| --- src/default_css.txt | |
| +++ src/default_css.txt | |
| @@ -770,16 +770,16 @@ | |
| 770 | white-space: nowrap; |
| 771 | } |
| 772 | .copy-button { |
| 773 | display: inline-block; |
| 774 | width: 14px; |
| 775 | height: 16px; |
| 776 | margin: 0; |
| 777 | padding: 0; |
| 778 | border: 0; |
| 779 | vertical-align: middle; |
| 780 | //Note: the mkcss utility does not support line breaks in data URIs. |
| 781 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath style='fill: black; opacity:0' d='M 14 16 H 0 V 0 h 14 v 16 z'/%3E%3Cpath style='fill:rgb(240,240,240)' d='M 1 0 h 6.6 l 2 2 h 1 l 3.4 3.4 v 8.6 h -10 v -2 h -3 z'/%3E%3Cpath style='fill:rgb(64,64,64)' d='M 2 1 h 5 l 3 3 v 7 h -8 z'/%3E%3Cpath style='fill:rgb(248,248,248)' d='M 3 2 h 3.6 l 2.4 2.4 v 5.6 h -6 z'/%3E%3Cpath style='fill:rgb(80,128,208)' d='M 4 5 h 4 v 1 h -4 z m 0 2 h 4 v 1 h -4 z'/%3E%3Cpath style='fill:rgb(64,64,64)' d='M 5 3 h 5 l 3 3 v 7 h -8 z'/%3E%3Cpath style='fill:rgb(248,248,248)' d='M 10 4.4 v 1.6 h 1.6 z m -4 -0.6 h 3 v 3 h -3 z m 0 3 h 6 v 5.4 h -6 z'/%3E%3Cpath style='fill:rgb(80,128,208)' d='M 7 8 h 4 v 1 h -4 z m 0 2 h 4 v 1 h -4 z'/%3E%3C/svg%3E"); |
| 782 | background-repeat: no-repeat; |
| 783 | background-position: center; |
| 784 | cursor: pointer; |
| 785 | } |
| 786 |
| --- src/default_css.txt | |
| +++ src/default_css.txt | |
| @@ -770,16 +770,16 @@ | |
| 770 | white-space: nowrap; |
| 771 | } |
| 772 | .copy-button { |
| 773 | display: inline-block; |
| 774 | width: 14px; |
| 775 | height: 14px; |
| 776 | margin: -2px 0 0 0; |
| 777 | padding: 0; |
| 778 | border: 0; |
| 779 | vertical-align: middle; |
| 780 | //Note: the mkcss utility does not support line breaks in data URIs. |
| 781 | background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath style='fill: black; opacity:0' d='M 14 14 H 0 V 0 h 14 v 14 z'/%3E%3Cpath style='fill:rgb(240,240,240)' d='M 1 0 h 6.6 l 2 2 h 1 l 3.4 3.4 v 8.6 h -10 v -2 h -3 z'/%3E%3Cpath style='fill:rgb(64,64,64)' d='M 2 1 h 5 l 3 3 v 7 h -8 z'/%3E%3Cpath style='fill:rgb(248,248,248)' d='M 3 2 h 3.6 l 2.4 2.4 v 5.6 h -6 z'/%3E%3Cpath style='fill:rgb(80,128,208)' d='M 4 5 h 4 v 1 h -4 z m 0 2 h 4 v 1 h -4 z'/%3E%3Cpath style='fill:rgb(64,64,64)' d='M 5 3 h 5 l 3 3 v 7 h -8 z'/%3E%3Cpath style='fill:rgb(248,248,248)' d='M 10 4.4 v 1.6 h 1.6 z m -4 -0.6 h 3 v 3 h -3 z m 0 3 h 6 v 5.4 h -6 z'/%3E%3Cpath style='fill:rgb(80,128,208)' d='M 7 8 h 4 v 1 h -4 z m 0 2 h 4 v 1 h -4 z'/%3E%3C/svg%3E"); |
| 782 | background-repeat: no-repeat; |
| 783 | background-position: center; |
| 784 | cursor: pointer; |
| 785 | } |
| 786 |