Fossil SCM
Resized the attachment SVG to an integer number of pixels to avoid a tiny rounding error in some browsers which would truncate a pixel of the right edge.
Commit
083927f575bcc12271cfa0515640f97dbd0908ff901a75c6da08e061caa065ad
Parent
b8a20e20ff35f88…
1 file changed
+14
-12
+14
-12
| --- src/chat.c | ||
| +++ src/chat.c | ||
| @@ -144,22 +144,24 @@ | ||
| 144 | 144 | void chat_webpage(void){ |
| 145 | 145 | char *zAlert; |
| 146 | 146 | char *zProjectName; |
| 147 | 147 | char * zInputPlaceholder0; /* Common text input placeholder value */ |
| 148 | 148 | const char *zPaperclip = |
| 149 | - "<svg height=\"7.9485579\" width=\"15.807422\"><path d=\"M " | |
| 150 | - "15.74273,3.2321262 A 4.1,4.1 0 0 0 11.662725,6.483619e-4 " | |
| 151 | - "H 2.8238895 A 2.79,2.79 0 0 0 0.68135588,0.95524256 2.84,2.84 " | |
| 152 | - "0 0 0 0.03081756,3.2179844 2.73,2.73 0 0 0 0.80156396,4.7382639 " | |
| 153 | - "3.13,3.13 0 0 0 2.993595,5.6292185 l 7.636753,-4e-7 a 1.66,1.66 " | |
| 154 | - "0 0 0 0.0071,-3.3163305 H 5.5462506 v 1.0040916 l " | |
| 155 | - "5.0840974,-0.00707 a 0.66,0.66 0 0 1 0,1.3152186 l " | |
| 156 | - "-7.6296819,0.00707 A 2,2 0 0 1 1.0207671,3.076563 1.83,1.83 0 0 " | |
| 157 | - "1 2.8168184,0.99766896 h 8.8388356 a 3.11,3.11 0 0 1 " | |
| 158 | - "3.097127,2.41830494 3,3 0 0 1 -0.622254,2.4748737 3,3 0 0 1 " | |
| 159 | - "-2.283955,1.0677313 l -7.4529056,-0.014142 -0.00707,0.9970211 " | |
| 160 | - "7.4458346,0.0071 a 4,4 0 0 0 3.9103,-4.716402 z\" /></svg>"; | |
| 149 | + "<svg height=\"8.0\" width=\"16.0\"><path d=\"M 15.93452,3.2530441 " | |
| 150 | + "A 4.1499493,4.1265346 0 0 0 11.804809,6.5256284e-4 H 2.8582923 A " | |
| 151 | + "2.8239899,2.8080565 0 0 0 0.68965668,0.96142476 2.874599,2.8583801 " | |
| 152 | + "0 0 0 0.03119302,3.2388108 2.7632589,2.7476682 0 0 0 " | |
| 153 | + "0.81132923,4.7689293 3.168132,3.1502569 0 0 0 3.0300653,5.66565 l " | |
| 154 | + "7.7297897,-4e-7 a 1.6802234,1.6707433 0 0 0 0.0072,-3.3377933 H " | |
| 155 | + "5.6138192 v 1.0105899 l 5.1460358,-0.00712 a 0.66804062,0.66427143 " | |
| 156 | + "0 0 1 0,1.3237305 l -7.7226325,0.00712 A 2.0243655,2.0129437 0 0 1 " | |
| 157 | + "1.0332029,3.0964741 1.8522944,1.8418435 0 0 1 2.8511351,1.0041257 h " | |
| 158 | + "8.9465169 a 3.1478884,3.1301275 0 0 1 3.134859,2.4339559 3.0365483," | |
| 159 | + "3.0194156 0 0 1 -0.629835,2.4908908 3.0365483,3.0194156 0 0 1 " | |
| 160 | + "-2.31178,1.0746415 l -7.5437026,-0.014233 -0.00716,1.0034736 " | |
| 161 | + "7.5365456,0.00715 a 4.048731,4.0258875 0 0 0 3.957938,-4.7469259 z\"" | |
| 162 | + "/></svg>"; | |
| 161 | 163 | |
| 162 | 164 | login_check_credentials(); |
| 163 | 165 | if( !g.perm.Chat ){ |
| 164 | 166 | login_needed(g.anon.Chat); |
| 165 | 167 | return; |
| 166 | 168 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -144,22 +144,24 @@ | |
| 144 | void chat_webpage(void){ |
| 145 | char *zAlert; |
| 146 | char *zProjectName; |
| 147 | char * zInputPlaceholder0; /* Common text input placeholder value */ |
| 148 | const char *zPaperclip = |
| 149 | "<svg height=\"7.9485579\" width=\"15.807422\"><path d=\"M " |
| 150 | "15.74273,3.2321262 A 4.1,4.1 0 0 0 11.662725,6.483619e-4 " |
| 151 | "H 2.8238895 A 2.79,2.79 0 0 0 0.68135588,0.95524256 2.84,2.84 " |
| 152 | "0 0 0 0.03081756,3.2179844 2.73,2.73 0 0 0 0.80156396,4.7382639 " |
| 153 | "3.13,3.13 0 0 0 2.993595,5.6292185 l 7.636753,-4e-7 a 1.66,1.66 " |
| 154 | "0 0 0 0.0071,-3.3163305 H 5.5462506 v 1.0040916 l " |
| 155 | "5.0840974,-0.00707 a 0.66,0.66 0 0 1 0,1.3152186 l " |
| 156 | "-7.6296819,0.00707 A 2,2 0 0 1 1.0207671,3.076563 1.83,1.83 0 0 " |
| 157 | "1 2.8168184,0.99766896 h 8.8388356 a 3.11,3.11 0 0 1 " |
| 158 | "3.097127,2.41830494 3,3 0 0 1 -0.622254,2.4748737 3,3 0 0 1 " |
| 159 | "-2.283955,1.0677313 l -7.4529056,-0.014142 -0.00707,0.9970211 " |
| 160 | "7.4458346,0.0071 a 4,4 0 0 0 3.9103,-4.716402 z\" /></svg>"; |
| 161 | |
| 162 | login_check_credentials(); |
| 163 | if( !g.perm.Chat ){ |
| 164 | login_needed(g.anon.Chat); |
| 165 | return; |
| 166 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -144,22 +144,24 @@ | |
| 144 | void chat_webpage(void){ |
| 145 | char *zAlert; |
| 146 | char *zProjectName; |
| 147 | char * zInputPlaceholder0; /* Common text input placeholder value */ |
| 148 | const char *zPaperclip = |
| 149 | "<svg height=\"8.0\" width=\"16.0\"><path d=\"M 15.93452,3.2530441 " |
| 150 | "A 4.1499493,4.1265346 0 0 0 11.804809,6.5256284e-4 H 2.8582923 A " |
| 151 | "2.8239899,2.8080565 0 0 0 0.68965668,0.96142476 2.874599,2.8583801 " |
| 152 | "0 0 0 0.03119302,3.2388108 2.7632589,2.7476682 0 0 0 " |
| 153 | "0.81132923,4.7689293 3.168132,3.1502569 0 0 0 3.0300653,5.66565 l " |
| 154 | "7.7297897,-4e-7 a 1.6802234,1.6707433 0 0 0 0.0072,-3.3377933 H " |
| 155 | "5.6138192 v 1.0105899 l 5.1460358,-0.00712 a 0.66804062,0.66427143 " |
| 156 | "0 0 1 0,1.3237305 l -7.7226325,0.00712 A 2.0243655,2.0129437 0 0 1 " |
| 157 | "1.0332029,3.0964741 1.8522944,1.8418435 0 0 1 2.8511351,1.0041257 h " |
| 158 | "8.9465169 a 3.1478884,3.1301275 0 0 1 3.134859,2.4339559 3.0365483," |
| 159 | "3.0194156 0 0 1 -0.629835,2.4908908 3.0365483,3.0194156 0 0 1 " |
| 160 | "-2.31178,1.0746415 l -7.5437026,-0.014233 -0.00716,1.0034736 " |
| 161 | "7.5365456,0.00715 a 4.048731,4.0258875 0 0 0 3.957938,-4.7469259 z\"" |
| 162 | "/></svg>"; |
| 163 | |
| 164 | login_check_credentials(); |
| 165 | if( !g.perm.Chat ){ |
| 166 | login_needed(g.anon.Chat); |
| 167 | return; |
| 168 |