Skip to content

Commit db3878f

Browse files
committed
Misc small fixes
1 parent a9e656e commit db3878f

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

src/herbie/HerbieUI.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ input:focus-visible, textarea:focus-visible {
178178
justify-content: space-between; /* Align the components at the start and end of the header */
179179
align-items: center;
180180
font-family: Ruda;
181-
font-size: 11px;
181+
font-size: 12px;
182182
background-color: var(--foreground-color);
183183
color: var(--background-color);
184184
padding: 10px 25px;
@@ -218,7 +218,7 @@ input:focus-visible, textarea:focus-visible {
218218
margin: 0 5px -1px 3px;
219219
}
220220

221-
a:hover .icon {
221+
a .icon {
222222
/* Open in external tab icon only shows on hover of link */
223223
fill: var(--background-color);
224224
}

src/herbie/HerbieUI.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ function HerbieUIInner() {
860860
<div className="header">
861861
<div className="app-name" onClick={() => setShowSpecEntry(true)}>
862862
<img src="https://raw.githubusercontent.com/herbie-fp/odyssey/main/images/odyssey-icon.png" style={{ width: '18px', marginRight: '8px' }} alt="Odyssey Icon"></img>
863-
<span style={{fontSize: '13px'}}>Odyssey</span>
863+
<span style={{fontSize: '15px'}}>Odyssey</span>
864864
</div>
865865
<div className="tabs">
866866
<a href="https://github.com/herbie-fp/odyssey/?tab=readme-ov-file#odyssey-an-interactive-numerics-workbench" target="_blank">
@@ -925,7 +925,7 @@ function HerbieUIInner() {
925925
<ExpressionTable />
926926
<div className="visualizations">
927927
{/* <SelectableVisualization components={components} /> */}
928-
<div style={{fontSize: "12px", padding:"11px 0px", fontWeight: 'bold'}}>Error Plot</div>
928+
<div style={{fontSize: "14px", padding:"11px 0px", fontWeight: 'bold'}}>Error Plot</div>
929929
<ErrorPlot />
930930
<h4>Other Comparisons</h4>
931931
<SelectableVisualization components={components2} />

src/herbie/LocalError/newLocalError.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
background-color: #fdf2f2; /* Very subtle pink background */
1818
border-radius: 3px;
1919
padding: 2px 4px;
20+
display: inline-block;
2021
}
2122

2223
.program-col {
@@ -53,9 +54,12 @@
5354
font-size: 12px;
5455
}
5556

57+
.local-error thead th {
58+
border-bottom: 1px solid #b2b3b5; /* Light gray border for header */
59+
}
60+
5661
/* slightly darken the hovered row */
5762
.local-error tbody tr:hover {
5863
background-color: #f3f4f6; /* Light gray background on hover */
59-
border-radius: 5px;
6064
transition: background-color 0.2s ease;
6165
}

0 commit comments

Comments
 (0)