Skip to content

Commit

Permalink
Center definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
elmisback committed Nov 7, 2024
1 parent d5c2e98 commit 1878a4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/herbie/SpecComponent.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
float: left;
width: 220px;
clear: left;
margin: 0 1em 0em 1em;
margin: 0 2em 0em 4em;
font-family: "IBM Plex Mono", sans-serif;
line-height: 1em;
}
Expand Down Expand Up @@ -136,6 +136,7 @@

.mathjs-instructions {
margin-top: 2em;
font-size: smaller;
}

.function-list {
Expand Down
4 changes: 2 additions & 2 deletions src/herbie/SpecComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ function SpecConfigComponent() {
)}

{/* TODO this nesting p > dl is bad apparently, shows console error */}
<div className="mathjs-instructions" style={{ display: "block" }}>
<div className="mathjs-instructions" style={{ display: "block", alignSelf: 'center' }}>
<div>
Use ordinary mathematical syntax (parsed by{" "}
<a href="https://mathjs.org">math.js</a>) and{" "}
Expand Down Expand Up @@ -410,7 +410,7 @@ function SpecConfigComponent() {

<div
className="acknowledgments"
style={{ fontSize: "small", marginTop: "2em" }}
style={{ fontSize: "small", marginTop: "2em", textAlign: 'center' }}
>
This work is supported by the U.S. Department of Energy, Office of
Science, Office of Advanced Scientific Computing Research, ComPort:
Expand Down

0 comments on commit 1878a4e

Please sign in to comment.