Update height when is hireable is true

This commit is contained in:
lowlighter
2020-12-14 13:28:55 +01:00
parent 42096fac42
commit deb1b327dc
3 changed files with 7 additions and 6 deletions

View File

@@ -125,7 +125,10 @@ But there's more with [plugins](https://github.com/lowlighter/metrics/tree/maste
<img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.gists.svg" alt="" width="400"> <img src="https://github.com/lowlighter/lowlighter/blob/master/metrics.plugin.gists.svg" alt="" width="400">
</a> </a>
</td> </td>
<td> <td></td>
</tr>
<tr>
<td colspan="2" align="center">
<a href="https://github.com/lowlighter/metrics/issues/8"> <a href="https://github.com/lowlighter/metrics/issues/8">
More to come soon ! More to come soon !
</a> </a>
@@ -151,11 +154,9 @@ But there's more with [plugins](https://github.com/lowlighter/metrics/tree/maste
<th></th> <th></th>
</tr> </tr>
<tr> <tr>
<td> <td colspan="2" align="center">
More to come soon ! More to come soon !
</td> </td>
<td>
</td>
</tr> </tr>
</table> </table>

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="480" height="<%= 12 <svg xmlns="http://www.w3.org/2000/svg" width="480" height="<%= 12
+ (!!base.header)*80 + (!!base.header)*80 + (user.isHireable)*16
+ (!!base.metadata)*38 + (!!base.metadata)*38
+ ((!!base.activity)||(!!base.community))*128 + ((!!base.activity)||(!!base.community))*128
+ (!!base.repositories)*108 + (!!base.repositories)*108

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB