Skip to content

Commit

Permalink
apply nested styles in report (#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
pplonski committed May 22, 2024
1 parent b9d692d commit bbd8e41
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions supervised/base_automl.py
Original file line number Diff line number Diff line change
Expand Up @@ -2290,10 +2290,10 @@ def from_json(self, json_data):
color: white;
}}
body {{
.mljar-automl-report {{
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
background-color: rgba(236, 243, 249, 0.15);
}}
h1 {{
color: #004666;
Expand Down Expand Up @@ -2327,7 +2327,7 @@ def from_json(self, json_data):
cursor: pointer;
color: #0099CC;
}}
}}
"""

Expand Down Expand Up @@ -2459,7 +2459,9 @@ def _report(self, width=900, height=1200):
</style>
</head>
<body>
<div class="mljar-automl-report">
{body}
<div>
</body>
</html>
"""
Expand Down

0 comments on commit bbd8e41

Please sign in to comment.