Skip to content

Commit 47cf2e6

Browse files
hsy822Aniket-Engg
authored andcommitted
fix compiler version box
1 parent 445dbf2 commit 47cf2e6

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

apps/noir-compiler/src/app/components/container.tsx

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ export function Container () {
6767
<article>
6868
<div className="pt-0 noir_section">
6969
<div className="mb-1">
70-
<div className="d-flex align-items-center">
7170
<label className="noir_label form-check-label">
7271
<FormattedMessage id="noir.compiler" />
7372
</label>
@@ -85,10 +84,22 @@ export function Container () {
8584
tooltipClasses="text-nowrap"
8685
tooltipText={`Using Noir ${NOIR_VERSION} and Barretenberg ${BARRETENBERG_VERSION}`}
8786
>
88-
<span className="text-muted small ms-2">{NOIR_VERSION}</span>
87+
<button
88+
className="btn btn-light btn-block w-100 d-inline-block border form-select"
89+
style={{
90+
cursor: 'default',
91+
opacity: 1,
92+
textAlign: 'left'
93+
}}
94+
>
95+
<div className="d-flex justify-content-between align-items-center">
96+
<div className="font-sm" style={{ flexGrow: 1, overflow: 'hidden', display:'flex', justifyContent:'left' }}>
97+
{ NOIR_VERSION }
98+
</div>
99+
</div>
100+
</button>
89101
</CustomTooltip>
90102
</div>
91-
{/* <CompileOptions setCircuitAutoCompile={handleCircuitAutoCompile} setCircuitHideWarnings={handleCircuitHideWarnings} autoCompile={noirApp.appState.autoCompile} hideWarnings={noirApp.appState.hideWarnings} /> */}
92103
<hr></hr>
93104
<div>
94105
<CompileBtn id="noir" plugin={noirApp.plugin} appState={noirApp.appState} compileAction={handleCompileClick} />
@@ -177,7 +188,6 @@ export function Container () {
177188
<CompilerFeedback feedback={noirApp.appState.compilerFeedback} filePathToId={noirApp.appState.filePathToId} openErrorLocation={handleOpenErrorLocation} hideWarnings={noirApp.appState.hideWarnings} askGPT={askGPT} />
178189
</RenderIf>
179190
</div>
180-
</div>
181191
</article>
182192
</section>
183193
)

0 commit comments

Comments
 (0)