[FFmpeg-devel] [PATCH] web/download: general improvements
Lou Logan
lou at lrcd.com
Sat Oct 26 02:09:38 EEST 2019
On Fri, Oct 25, 2019, at 3:17 AM, Deby Page wrote:
>
> I would recommend adding the following to the button's CSS, wrapping
> the button to multiple lines on smaller screens:
> white-space: normal;
Thanks. Pushed, but with errors:
remote: lessc --clean-css src/less/style.less >
htdocs/css/style.min.css remote: Error: Cannot find module 'clean-css'
...
remote: ok/Makefile:71: recipe for target 'htdocs/css/style.min.css'
failed remote: make: *** [htdocs/css/style.min.css] Error 2
Temporarily screwed up the site CSS, but luckily there is a recent
backup. Changed permission of style.min.css so lessc won't overwrite it
again until we deal with this properly.
It is lessc from the node-less repo package and not from npm. I tried
installing node-clean-css in a VM, but that doesn't help (TypeError:
CleanCSS is not a constructor). It worked in the VM when I installed
npm and used it to install lessc and clean-css. But I didn't like the
large number of npm dependencies, and don't want to use some other
package management system I have no experience with.
So I got lazy and edited style.min.css directly like a luddite. It's in
.gitignore anyway.
All of this because I wanted to edit a button text.
More information about the ffmpeg-devel
mailing list