From: Sen Hastings <sen@phobosdpl.com>
To: buildroot@buildroot.org
Cc: Sen Hastings <sen@phobosdpl.com>
Subject: [Buildroot] [PATCH 2/3] support/scripts/pkg-stats: adjust column widths
Date: Thu, 28 Jul 2022 18:23:56 -0500 [thread overview]
Message-ID: <20220728232357.270130-2-sen@phobosdpl.com> (raw)
In-Reply-To: <20220728232357.270130-1-sen@phobosdpl.com>
This adjusts the column widths, mostly for asthetics/legibility.
It is primarily for chrome based browsers, which like to
linebreak on explicit hyphens, meaning every CVE takes multiple lines.
see: https://github.com/w3c/csswg-drafts/issues/3434
Signed-off-by: Sen Hastings <sen@phobosdpl.com>
---
support/scripts/pkg-stats | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
index 8ce4e3f260..4b396d3217 100755
--- a/support/scripts/pkg-stats
+++ b/support/scripts/pkg-stats
@@ -853,7 +853,7 @@ function expandField(fieldId){
#package-grid, #results-grid {
display: grid;
grid-gap: 2px;
- grid-template-columns: 1fr repeat(12, min-content);
+ grid-template-columns: max-content repeat(5, min-content) 20ch repeat(3, max-content) repeat(2, 20ch) auto;
}
#results-grid {
grid-template-columns: 3fr 1fr;
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-07-28 23:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-28 23:23 [Buildroot] [PATCH 1/3] support/scripts/pkg-stats: make cells with many CVEs collapsible Sen Hastings
2022-07-28 23:23 ` Sen Hastings [this message]
2022-08-01 17:04 ` [Buildroot] [PATCH 2/3] support/scripts/pkg-stats: adjust column widths Thomas Petazzoni via buildroot
2022-08-01 18:11 ` Arnout Vandecappelle
2022-08-02 20:30 ` Sen Hastings
2022-08-02 22:04 ` Thomas Petazzoni via buildroot
2022-07-28 23:23 ` [Buildroot] [PATCH 3/3] support/scripts/pkg-stats: re-implement the sortable_hint Sen Hastings
2022-08-01 17:02 ` Thomas Petazzoni via buildroot
2022-08-01 17:02 ` [Buildroot] [PATCH 1/3] support/scripts/pkg-stats: make cells with many CVEs collapsible Thomas Petazzoni via buildroot
[not found] <76c8fcd6-d477-7cbe-dcc5-b382d65f3498@phobosdpl.com>
2022-08-02 19:47 ` [Buildroot] [PATCH 2/3] support/scripts/pkg-stats: adjust column widths Sen Hastings
2022-08-02 21:18 ` Thomas Petazzoni via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220728232357.270130-2-sen@phobosdpl.com \
--to=sen@phobosdpl.com \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox