Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix deep dependency graph not show in uiEmbed=v0 mode #768

Merged
merged 11 commits into from
Oct 14, 2021
Prev Previous commit
Next Next commit
add an new classname when use uiEmbed mode
add an new classname when use uiEmbed mode

Signed-off-by: leroy-chen <leroy.chen.179@gmail.com>
  • Loading branch information
leroy-chen committed Jul 16, 2021
commit 3c2ca1dcb8141020e0cec7f06ee7a787a4e1a6ec
9 changes: 9 additions & 0 deletions packages/jaeger-ui/src/components/App/Page.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,12 @@ limitations under the License.
right: 0;
top: var(--nav-height);
}

.Page--content--embedded {
display: flex;
leroy-chen marked this conversation as resolved.
Show resolved Hide resolved
flex-direction: column;
left: 0;
min-height: calc(100% - var(--nav-height));
position: absolute;
right: 0;
}
2 changes: 1 addition & 1 deletion packages/jaeger-ui/src/components/App/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class PageImpl extends React.Component<TProps> {

render() {
const { embedded } = this.props;
const contentCls = cx({ 'Page--content': true });
const contentCls = cx({ 'Page--content': !embedded, 'Page--content--embedded': embedded });
return (
<div>
<Helmet title="Jaeger UI" />
Expand Down