You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/12/20 16:56:49 UTC

[GitHub] [airflow] michaelmicheal commented on issue #28483: Issues with Custom Menu Items on Smaller Windows

michaelmicheal commented on issue #28483:
URL: https://github.com/apache/airflow/issues/28483#issuecomment-1359718366

   I was playing around with a patch in our Airflow instance like this, but didn't seem to change the css in the browser. Is there some sort of style rendering that's done in CI or something that prevents me from just changing main.css in our Airflow image to make this change?
   ```diff
   --- /usr/local/lib/python3.9/site-packages/airflow/www/static/css/main.css
   +++ /usr/local/lib/python3.9/site-packages/airflow/www/static/css/main.css
   @@ -50,6 +50,7 @@ div.container {
      width: 98%;
      padding-left: 15px;
      padding-right: 15px;
   +  padding-top: 50px;
    }
   
    .navbar a {
   @@ -61,6 +62,11 @@ div.container {
      color: #e2d2e2;
    }
   
   +.navbar li.dropdown .dropdown-menu {
   +  overflow-y: auto;
   +}
   +
   +
    .navbar-nav li.dropdown:hover > .dropdown-menu,
    .navbar-nav li.dropdown:focus-within > .dropdown-menu {
      display: block;
   
   ```


-- 
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: commits-unsubscribe@airflow.apache.org

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