elek opened a new pull request #1452:
URL: https://github.com/apache/hadoop-ozone/pull/1452


   ## What changes were proposed in this pull request?
   
   Logo is too big on doc snapshot (generated by the Jenkins):
   
   
![image](https://user-images.githubusercontent.com/170549/94560414-eb243000-0262-11eb-9667-1652787200f7.png)
   
   INFRA is migrated to a new jenkins and the new Jenkins adds a more secure 
HTTP headers:
   
   ```
   < Content-Security-Policy: sandbox; default-src 'none'; img-src 'self'; 
style-src 'self';
   < X-WebKit-CSP: sandbox; default-src 'none'; img-src 'self'; style-src 
'self';
   ```
   
   IMHO the inline styles which are used in the current code are disabled:
   
   ```
   <a href="{{ "index.html" | relLangURL }}" class="navbar-left" style="height: 
50px; padding: 5px 10px 5px 0px;">
   ```
   
   While it's not a production issue, we can move the custom styles to the css, 
to make it compatible with the jenkins.
   
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-4288
   
   ## How was this patch tested?
   
     1. If you remove inline `style` attributes , and do a `hugo serve` in 
`hadoop-hdds/docs`, you can see that the logo is too big.
     2. When you apply the patches (css based styles) the logo is fine, again.
   
   It is supposed to be compatible with the Jenkins as all the other css based 
styles are working.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to