Skip to content

Commit

Permalink
fix(HAWNG-753): tweak size of the Route Diagram to fill the screen
Browse files Browse the repository at this point in the history
  • Loading branch information
mmelko committed Sep 4, 2024
1 parent 978b75d commit 07ac50b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,10 @@
.camel-route-diagram {
flex-grow: 1;
position: relative;
height: 60vh;
/* 230px representss size of hawtio bar, panel header,tab navigation,and footer */
height: calc(100vh - 230px);
min-height: 50vh;
max-height: 75vh;
max-height: calc(100vh - 230px);
width: 100%;
}

Expand Down
8 changes: 8 additions & 0 deletions packages/hawtio/src/plugins/camel/trace/Tracing.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
flex: 1;
}

#route-diagram-tracing-view .camel-route-diagram {
/* 330px is approximately size of hawtio bar, header, navigation, paddings and footer */
height: calc(100vh - 330px);
min-height: 50vh;
max-height: calc(100vh - 330px);
width: 100%;
}

#trace-header-container {
display: flex;
justify-content: space-between;
Expand Down

0 comments on commit 07ac50b

Please sign in to comment.