File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -33,3 +33,8 @@ h1 + .subtitle {
3333 display : block ;
3434 margin-top : -1em ;
3535}
36+
37+ .plot-container {
38+ width : 100% ;
39+ height : 100% ;
40+ }
Original file line number Diff line number Diff line change @@ -113,12 +113,7 @@ pub fn plot_component(props: &PlotProps) -> Html {
113113 } ) ;
114114
115115 html ! {
116- <div style="text-align: center;" >
117- <div class="d-flex mb-2" >
118-
119- </div>
120116 <div id="plot-div" ></div>
121- </div>
122117 }
123118}
124119
@@ -521,7 +516,7 @@ pub fn home() -> Html {
521516 // options={pagination_options}
522517 // on_page={Some(handle_page)}
523518 // />
524- <div class="flex-grow-1" style= "width: 100%; " >
519+ <div class="flex-grow-1 p-2 input-group me-2 " >
525520 <PlotComponent
526521 selected_indexes={ ( * selected_indexes. current( ) ) . clone( ) }
527522 is_y_log={ is_y_log. clone( ) }
You can’t perform that action at this time.
0 commit comments