feat: wakatime card width customization (#4458)

* add card_width to wakatime card

* better handling of card_width in wakatime card

* move default card_width for wakatime card, add to readme

* review

* review

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
This commit is contained in:
martin-mfg
2025-10-05 23:03:25 +03:00
committed by GitHub
co-authored by Alexandr
parent 361e8279cc
commit 39b93b57c8
4 changed files with 48 additions and 17 deletions
+2
View File
@@ -16,6 +16,7 @@ export default async (req, res) => {
title_color,
icon_color,
hide_border,
card_width,
line_height,
text_color,
bg_color,
@@ -90,6 +91,7 @@ export default async (req, res) => {
custom_title,
hide_title: parseBoolean(hide_title),
hide_border: parseBoolean(hide_border),
card_width: parseInt(card_width, 10),
hide: parseArray(hide),
line_height,
title_color,