Fixed a number of unicode characters improperly inserted into text

This commit is contained in:
handfly 2026-05-04 20:11:33 -04:00
parent 191e543cca
commit 4c3b543536

View file

@ -724,7 +724,7 @@ const ResultValue = ({ value, unit, danger, theme }) => (
MODULE: Fuel Order
*/
const FuelOrderModule = ({ theme, volumeUnit }) => {
const [tempInput, setTempInput] = useState("");
const [tempInput, setTempInput] = useState("15");
const [totalInput, setTotalInput] = useState("");
const [onBoardInput, setOnBoardInput] = useState("");
const [fuelInput, setFuelInput] = useState("");
@ -869,7 +869,7 @@ const FuelOrderModule = ({ theme, volumeUnit }) => {
{/* Density at 15°C */}
<div>
<label style={labelStyle}>Fuel Density at 15\u00b0C</label>
<label style={labelStyle}>Fuel Density at 15{"\u00b0"}C</label>
<div style={{ display: "flex", alignItems: "center", gap: "12px" }}>
<input type="number" value={densityInput}
onChange={(e) => setDensityInput(e.target.value)}
@ -895,7 +895,7 @@ const FuelOrderModule = ({ theme, volumeUnit }) => {
{/* Optional: Total Required and On Board */}
<div style={{ padding: "16px", borderRadius: "8px", backgroundColor: theme.surfaceAlt, border: `1px solid ${theme.border}` }}>
<div style={{ fontSize: "11px", fontWeight: 700, color: theme.textMuted, letterSpacing: "0.06em", textTransform: "uppercase", marginBottom: "14px" }}>
Optional \u2014 calculate fuel order
Optional {"\u2014"} calculate fuel order
</div>
<div style={{ display: "flex", gap: "12px" }}>
<div style={{ flex: 1 }}>
@ -1330,7 +1330,7 @@ const CrosswindModule = ({ theme }) => {
<div>
<div style={{ display: "flex", flexDirection: "column", gap: "18px", marginBottom: "20px" }}>
<div>
<label style={labelStyle}>Runway (01\u201336 or heading)</label>
<label style={labelStyle}>Runway (01{"\u2013"}36 or heading)</label>
<input type="number" value={runwayInput} onChange={(e) => setRunwayInput(e.target.value.replace(/^0+(?=\d)/, ""))} placeholder="e.g. 27 or 270" style={inputStyle} {...focus} />
</div>
<div style={{ display: "flex", gap: "12px" }}>
@ -1500,7 +1500,7 @@ const FuelBucketsModule = ({ theme, aircraft, fuelProfile }) => {
{/* Result */}
<div style={{ padding: "20px 24px", borderRadius: "10px", backgroundColor: theme.resultBg, border: `1px solid ${theme.resultBorder}` }}>
<div style={{ fontSize: "11px", fontWeight: 700, color: theme.textMuted, letterSpacing: "0.08em", textTransform: "uppercase", marginBottom: "16px" }}>
Fuel Burn \u2014 {acData.label}
Fuel Burn {"\u2014"} {acData.label}
</div>
<div style={{ display: "flex", justifyContent: "space-between", alignItems: "baseline" }}>
<span style={{ fontSize: "14px", color: theme.textSecondary, fontWeight: 500 }}>
@ -2868,8 +2868,8 @@ const FlightLevelModule = ({ theme }) => {
{/* Legend and notes */}
<div style={{ marginTop: "12px", fontSize: "11px", color: theme.textMuted, lineHeight: "1.6" }}>
<div style={{ display: "flex", gap: "16px", marginBottom: "6px" }}>
<span><span style={{ color: "#4dabf7", fontWeight: 700 }}>\u25cf E</span> Eastbound 0\u00b0\u2013179\u00b0</span>
<span><span style={{ color: "#f59f00", fontWeight: 700 }}>\u25cf W</span> Westbound 186\u00b0\u2013359\u00b0</span>
<span><span style={{ color: "#4dabf7", fontWeight: 700 }}>{"\u25cf"} E</span> Eastbound 0{"\u00b0\u2013"}179{"\u00b0"}</span>
<span><span style={{ color: "#f59f00", fontWeight: 700 }}>{"\u25cf"} W</span> Westbound 186{"\u00b0\u2013"}359{"\u00b0"}</span>
</div>
ATC clears flight level in meters. Set altimeter to corresponding feet value.
<br />Onboard metric readout may differ from cleared value by up to 30 m due to rounding.
@ -3058,7 +3058,7 @@ const CrewRestModule = ({ theme }) => {
type="text" value={crew[i]}
onChange={(e) => !locked && updateCrew(i, e.target.value)}
readOnly={locked}
placeholder={i < 3 ? "ID or name" : "optional"}
placeholder={i < 3 ? "ID" : "ID"}
style={inputStyle} {...focus}
/>
</div>