Fossil SCM
Resized the attachment SVG - its bounding box was far, far wider than the glyph.
Commit
c6cc5557c0f4ea66151329846e0bfbf1ae869a23f69dbb9cff81546da75da820
Parent
cc709782b467e53…
1 file changed
+11
-8
+11
-8
| --- src/chat.c | ||
| +++ src/chat.c | ||
| @@ -144,18 +144,21 @@ | ||
| 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 style=\"max-width:2.5ex\"><path d=\"M13.26,1.9a4.1,4.1,0," | |
| 150 | - "0,0-5.17.6L1.84,8.75A2.79,2.79,0,0,0,1,10.94,2.84,2.84,0,0,0," | |
| 151 | - "2.14,13a2.73,2.73,0,0,0,1.62.53,3.13,3.13,0,0,0," | |
| 152 | - "2.18-.92l5.4-5.4A1.66,1.66,0,0,0,9,4.86L5.4,8.46l.71.71L9.7," | |
| 153 | - "5.57a.66.66,0,0,1,.93.93L5.24,11.9a2,2,0,0,1-2.5.3,1.83,1.83," | |
| 154 | - "0,0,1-.2-2.74L8.79,3.21a3.11,3.11,0,0,1,3.9-.48A3,3,0,0,1,14," | |
| 155 | - "4.92a3,3,0,0,1-.86,2.37L7.86,12.55l.7.71L13.83,8a4,4,0,0," | |
| 156 | - "0-.57-6.1Z\"></path></svg>"; | |
| 149 | + "<svg height=\"12.28288\" width=\"13.990313\"><path d=\"M " | |
| 150 | + "12.266368,0.65287795 A 4.1,4.1 0 0 0 7.0963684,1.2528779 " | |
| 151 | + "l -6.24999999,6.25 a 2.79,2.79 0 0 0 -0.84,2.19 2.84,2.84 " | |
| 152 | + "0 0 0 1.13999999,2.0600001 2.73,2.73 0 0 0 1.62,0.53 3.13," | |
| 153 | + "3.13 0 0 0 2.18,-0.92 L 10.346368,5.9628779 a 1.66,1.66 0 " | |
| 154 | + "0 0 -2.3399996,-2.35 l -3.6,3.6 0.71,0.71 3.59,-3.6 a 0.66," | |
| 155 | + "0.66 0 0 1 0.93,0.93 l -5.39,5.4000001 a 2,2 0 0 1 -2.5,0.3 " | |
| 156 | + "1.83,1.83 0 0 1 -0.2,-2.7400001 l 6.25,-6.25 a 3.11,3.11 0 " | |
| 157 | + "0 1 3.8999996,-0.48 3,3 0 0 1 1.31,2.19 3,3 0 0 1 -0.86,2.37 " | |
| 158 | + "l -5.2799996,5.2600001 0.7,0.71 5.2699996,-5.2600001 a 4,4 0 " | |
| 159 | + "0 0 -0.57,-6.09999995 z\" /></svg>"; | |
| 157 | 160 | |
| 158 | 161 | login_check_credentials(); |
| 159 | 162 | if( !g.perm.Chat ){ |
| 160 | 163 | login_needed(g.anon.Chat); |
| 161 | 164 | return; |
| 162 | 165 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -144,18 +144,21 @@ | |
| 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 style=\"max-width:2.5ex\"><path d=\"M13.26,1.9a4.1,4.1,0," |
| 150 | "0,0-5.17.6L1.84,8.75A2.79,2.79,0,0,0,1,10.94,2.84,2.84,0,0,0," |
| 151 | "2.14,13a2.73,2.73,0,0,0,1.62.53,3.13,3.13,0,0,0," |
| 152 | "2.18-.92l5.4-5.4A1.66,1.66,0,0,0,9,4.86L5.4,8.46l.71.71L9.7," |
| 153 | "5.57a.66.66,0,0,1,.93.93L5.24,11.9a2,2,0,0,1-2.5.3,1.83,1.83," |
| 154 | "0,0,1-.2-2.74L8.79,3.21a3.11,3.11,0,0,1,3.9-.48A3,3,0,0,1,14," |
| 155 | "4.92a3,3,0,0,1-.86,2.37L7.86,12.55l.7.71L13.83,8a4,4,0,0," |
| 156 | "0-.57-6.1Z\"></path></svg>"; |
| 157 | |
| 158 | login_check_credentials(); |
| 159 | if( !g.perm.Chat ){ |
| 160 | login_needed(g.anon.Chat); |
| 161 | return; |
| 162 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -144,18 +144,21 @@ | |
| 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=\"12.28288\" width=\"13.990313\"><path d=\"M " |
| 150 | "12.266368,0.65287795 A 4.1,4.1 0 0 0 7.0963684,1.2528779 " |
| 151 | "l -6.24999999,6.25 a 2.79,2.79 0 0 0 -0.84,2.19 2.84,2.84 " |
| 152 | "0 0 0 1.13999999,2.0600001 2.73,2.73 0 0 0 1.62,0.53 3.13," |
| 153 | "3.13 0 0 0 2.18,-0.92 L 10.346368,5.9628779 a 1.66,1.66 0 " |
| 154 | "0 0 -2.3399996,-2.35 l -3.6,3.6 0.71,0.71 3.59,-3.6 a 0.66," |
| 155 | "0.66 0 0 1 0.93,0.93 l -5.39,5.4000001 a 2,2 0 0 1 -2.5,0.3 " |
| 156 | "1.83,1.83 0 0 1 -0.2,-2.7400001 l 6.25,-6.25 a 3.11,3.11 0 " |
| 157 | "0 1 3.8999996,-0.48 3,3 0 0 1 1.31,2.19 3,3 0 0 1 -0.86,2.37 " |
| 158 | "l -5.2799996,5.2600001 0.7,0.71 5.2699996,-5.2600001 a 4,4 0 " |
| 159 | "0 0 -0.57,-6.09999995 z\" /></svg>"; |
| 160 | |
| 161 | login_check_credentials(); |
| 162 | if( !g.perm.Chat ){ |
| 163 | login_needed(g.anon.Chat); |
| 164 | return; |
| 165 |