d45b5377c1
Sometimes a package can have a lot of CVEs. Rather than have the CVE cell make a really tall row (that means you have to scroll a bunch) this collapses the CVE cell to a fixed size scrollable element with a sticky button that lets you expand and collapse it. If Javascript is enabled: A stylesheet is generated and appended before content rendering, amending the cells style to have a fixed height and overflow. Also, the expand/contract button is unhidden. This means the CVE cells are rendered in a collapsed state instead of being rendered in an expanded state and then slamming shut. This avoids a "flash" and *helps* (vertically at least) manage CLS (cumulative layout shift). see: https://web.dev/cls/ If Javascript is disabled: The cells stay fully open and the expand/contract button stays hidden. Signed-off-by: Sen Hastings <sen@phobosdpl.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> |
||
---|---|---|
.. | ||
apply-patches.sh | ||
boot-qemu-image.py | ||
br2-external | ||
brpkgutil.py | ||
check-bin-arch | ||
check-dotconfig.py | ||
check-host-rpath | ||
check-kernel-headers.sh | ||
check-merged-usr.sh | ||
cpedb.py | ||
cve.py | ||
expunge-gconv-modules | ||
fix-configure-powerpc64.sh | ||
fix-rpath | ||
gen-bootlin-toolchains | ||
gen-missing-cpe | ||
generate-gitlab-ci-yml | ||
genimage.sh | ||
graph-build-time | ||
graph-depends | ||
hardlink-or-copy | ||
mkmakefile | ||
mkusers | ||
pkg-stats | ||
pyinstaller.py | ||
setlocalversion | ||
size-stats |