Adalennis opened a new issue, #9381:
URL: https://github.com/apache/hop/issues/9381
### Apache Hop version?
2.20.0
### Java version?
Java 21
### Operating system
macOS
### What happened?
Since the website was rebuilt on Antora alone (apache/hop-website#280), the
icon in a page title (`role="image-doc-icon"`) is no longer scaled. The old
site had this rule, added in apache/hop-website#159:
```
.image-doc-icon img {
vertical-align: middle;
width: 45pt;
}
```
It is no longer in `ui/css/site.css` or `shared/chrome.css`; the only rule
left is `img { max-width: 100%; height: auto; }`. Each icon is now shown at the
size its SVG file declares. Most icons declare 42 px or less and look fine, but
21 transform pages show a large icon next to the title, for example
https://hop.apache.org/manual/latest/pipeline/transforms/pipeline-executor.html
(512 x 512):
- No width or height, or 100%, so they use the full width: Access output,
Google Analytics, MySQL bulk loader, Snowflake ID, OData input
- 97 to 512 px: Pipeline executor, Rules accumulator, Rules executor, Apache
Tika, Execution information, PostgreSQL bulk loader, Vertica bulk loader,
Stanford NLP, Beam partition, Beam timestamp, Beam window, Git info
- 2500 x 1995 or millimetres: Azure Event Hubs listener and writer, Parquet
file input and output
Fix: add the rule back to `ui/css/site.css` in hop-website, with the size
most icons already have, so the 254 pages that look fine don't change:
```
.doc h1 .image-doc-icon img {
width: 42px;
height: auto;
vertical-align: middle;
}
```
### Issue Priority
Priority: 3
### Issue Component
Component: Documentation
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]