Skip to content

Commit be53203

Browse files
committed
The buttons are placed in one row
1 parent 5542b21 commit be53203

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,10 +474,10 @@ <h4>Workspace</h4>
474474
</div>
475475

476476
<div id="spectrumComparison" data-toggle="tooltip" title="Spectrum comparison">
477-
<button id="btn-spectrum-export" type="button" class="spectrum-comparasion-button" title="Export spectrum to CSV">Export</button>
478-
<button type="button" class="spectrum-comparasion-button" onclick="document.getElementById('btn-spectrum-import').click()" title="Import spectrum from CSV">Import</button>
477+
<button id="btn-spectrum-export" type="button" title="Export spectrum to CSV">Export</button>
478+
<button type="button" onclick="document.getElementById('btn-spectrum-import').click()" title="Import spectrum from CSV">Import</button>
479479
<input type="file" id="btn-spectrum-import" accept=".csv" style="display:none" multiple/>
480-
<button type="button" id="btn-spectrum-clear" class="spectrum-comparasion-button" title="Clear imported spectrums">Clear</button>
480+
<button type="button" id="btn-spectrum-clear" title="Clear imported spectrums">Clear</button>
481481
</div>
482482

483483
<div id="analyserResize" class="btn-nobg view-analyser-fullscreen" data-toggle="tooltip" title="Zoom Analyser Window">

src/css/main.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,7 @@ html.has-analyser-fullscreen.has-analyser
647647
border: gray;
648648
border-style: solid;
649649
border-width: 1px;
650+
display: flex;
650651
}
651652

652653
.analyser #spectrumComparison select {
@@ -655,9 +656,11 @@ html.has-analyser-fullscreen.has-analyser
655656
color: black;
656657
}
657658

658-
.spectrum-comparasion-button {
659-
width: 100%;
659+
#spectrumComparison button {
660+
width: auto;
661+
height: 14px;
660662
border-radius: 3px;
663+
float: left;
661664
}
662665

663666
.analyser input#analyserZoomX {

0 commit comments

Comments
 (0)