-
Notifications
You must be signed in to change notification settings - Fork 555
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resize the crossword grid by dimensions, not the type (#27336)
* resize the crossword grid by dimensions, not the type * Cap max grid size, scale font with size not cell count * Remove grid-size CSS class from accessible template There is no grid on the accessible version of a crossword page, so these styles are irrelevant
- Loading branch information
1 parent
7aa0fee
commit e6fb8c8
Showing
6 changed files
with
8 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
data-crossword-data="@Json.stringify(Json.toJson(crosswordPage.crossword))"> | ||
|
||
<div | ||
class="crossword__container [email protected].crosswordType.toString.toLowerCase()"> | ||
class="crossword__container crossword__container--@{crosswordPage.crossword.dimensions.cols}cell"> | ||
@* The following is a fallback for when JavaScript is not enabled *@ | ||
<div class="crossword__container__grid-wrapper"> | ||
<noscript>@crosswordPage.svg</noscript> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters