This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 2f051e303f Add max width to task group tooltips (#22978)
2f051e303f is described below
commit 2f051e303fd433e64619f931eab2180db44bba23
Author: Brent Bovenzi <[email protected]>
AuthorDate: Wed Apr 13 08:57:53 2022 -0500
Add max width to task group tooltips (#22978)
Add a max width to the tooltip css class to make long task group
descriptions wrap.
Fixes: https://github.com/apache/airflow/issues/22912
Before:
<img width="1680" alt="Screen Shot 2022-04-13 at 9 12 54 AM"
src="https://user-images.githubusercontent.com/4600967/163188297-e7369d02-bb87-42de-8827-4de0884a9e62.png">
After:
<img width="612" alt="Screen Shot 2022-04-13 at 9 11 52 AM"
src="https://user-images.githubusercontent.com/4600967/163188319-7ede8211-25e4-4f9d-8edf-a0ed1a7c47b6.png">
---
airflow/www/static/css/main.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/airflow/www/static/css/main.css b/airflow/www/static/css/main.css
index 40dc8825a8..278491a201 100644
--- a/airflow/www/static/css/main.css
+++ b/airflow/www/static/css/main.css
@@ -457,6 +457,7 @@ label[for="timezone-other"],
.tooltip {
z-index: 0;
+ max-width: 300px;
}
.tooltip.in,