I have a dependency in a maven project which renders html pages. I want to change the style of a table since the view is getting cut off. How can I access the stylesheet of the table and inject rules into it? Using intellij as the IDE and the dependency is the FF4J package.
Asked
Active
Viewed 315 times
0
-
Please show the pom file and what kind of dependency produces a HTML page ? – khmarbaise Aug 18 '18 at 14:27
1 Answers
0
The CSS you are looking for is part of the dependency ff4j-web
and the static HTML content is located in Github Repository. This solution has been chosen to have a working web application inside a JAR with no internet required (back in 2013)
Unfortunately, to change this content you will have update the source code
- Fork the repository on your account
mvn clean install
to check everything is OK (you may want to skip the 10k+ tests with-Dmaven.test.skip=true
it should work but takes 12min)- Change version of dependency in your own project from 1.7.2 to 1.8-SNAPSHOT
- Edit the CSS according to your findings and clean install ff4j-web.
- Create a pull request to have everyone benefit of your changes
If you know what is missing in the CSS you can also update the issue existing one adn we will be pleased to release 1.7.3 with your updates.

clunven
- 1,360
- 6
- 13
-
Adding this to style.css works: table td { word-break: break-all; } It's not pretty but it gets the job done. – user test Aug 27 '18 at 09:59