File tree Expand file tree Collapse file tree 1 file changed +22
-21
lines changed
Expand file tree Collapse file tree 1 file changed +22
-21
lines changed Original file line number Diff line number Diff line change @@ -475,27 +475,28 @@ pub fn home() -> Html {
475475 </div>
476476 </div>
477477
478-
479- <button
480- onclick={ clear_plot_callback. clone( ) }
481- class="btn btn-primary me-2"
482- >
483- { "Clear Plot" }
484- </button>
485-
486- <button
487- onclick={ onclick_toggle_x_log}
488- class="btn btn-primary me-2"
489- >
490- { if * is_x_log { "Switch X to Linear Scale" } else { "Switch X to Log Scale" } }
491- </button>
492-
493- <button
494- onclick={ onclick_toggle_y_log}
495- class="btn btn-primary me-2"
496- >
497- { if * is_y_log { "Switch Y to Linear Scale" } else { "Switch Y to Log Scale" } }
498- </button>
478+ <div class="d-flex mb-2 justify-content-center" >
479+ <button
480+ onclick={ clear_plot_callback. clone( ) }
481+ class="btn btn-primary me-2"
482+ >
483+ { "Clear Plot" }
484+ </button>
485+
486+ <button
487+ onclick={ onclick_toggle_x_log}
488+ class="btn btn-primary me-2"
489+ >
490+ { if * is_x_log { "Switch X to Linear Scale" } else { "Switch X to Log Scale" } }
491+ </button>
492+
493+ <button
494+ onclick={ onclick_toggle_y_log}
495+ class="btn btn-primary me-2"
496+ >
497+ { if * is_y_log { "Switch Y to Linear Scale" } else { "Switch Y to Log Scale" } }
498+ </button>
499+ </div>
499500
500501 <div class="d-flex mb-2" >
501502 <div class="flex-grow-1 p-2 input-group me-2" >
You can’t perform that action at this time.
0 commit comments