Skip to content

Commit

Permalink
Fix broken expansion of Aside
Browse files Browse the repository at this point in the history
  • Loading branch information
icecream17 committed Aug 24, 2024
1 parent 80f53d4 commit 665c85d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Note: Many earlier versions are not specified, that's too much work.

When a `@types` dependency updates, they almost always don't affect anything.

## v0.36.1

- (css) Fix explanation changing the size of Aside
- Chain explanations now include zero width spaces to break-word nicely.

## v0.36.0

- (use) Fix ANOTHER massive bug: editing multiple cells now works and is consistent with the visuals
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solver",
"version": "0.36.0",
"version": "0.36.1",
"private": true,
"homepage": "https://icecream17.github.io/solver",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Strategies/xyChain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function checkLoop (sudoku: PureSudoku, color1: CandidateID[], color2: Candidate
return {
success: true,
successcount: 1,
message: `${color2End.digit} ${color2.map(cand => algebraic(cand.row, cand.column)).join("<>")} ${color1End.digit}`,
message: `${color2End.digit} ${color2.map(cand => algebraic(cand.row, cand.column)).join("\u200B<>\u200B")} ${color1End.digit}`,
} as const
}

Expand Down
2 changes: 1 addition & 1 deletion src/Api/Strategies/xyLoop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function checkLoop (sudoku: PureSudoku, color1: CandidateID[], color2: Candidate
return {
success: true,
successcount: 1,
message: `${color2.map(cand => algebraic(cand.row, cand.column)).join("<>")}<>`,
message: `${color2.map(cand => algebraic(cand.row, cand.column)).join("\u200B<>\u200B")}\u200B<>\u200B`,
} as const
}

Expand Down
1 change: 1 addition & 0 deletions src/Elems/AsideElems/StrategyDetails.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
.StrategyDetails > p {
margin: 0;
white-space: pre-wrap;
word-break: break-word;
}
2 changes: 1 addition & 1 deletion src/Elems/Version.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import StaticComponent from './StaticComponent';
* <Version />
*/
function Version () {
return <span className="Version">v0.36.0</span>
return <span className="Version">v0.36.1</span>
}

export default StaticComponent(Version)

0 comments on commit 665c85d

Please sign in to comment.