Skip to content

Commit

Permalink
Add custom CSS class
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus-87 committed May 22, 2024
1 parent 7fdafbd commit a044e81
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## [Unreleased]

### Added

- Added custom CSS class

## [0.2.2](https://github.com/dbmdz/mirador-canvasnavigation/releases/tag/0.2.2) - 2024-02-21

### Fixed
Expand Down
8 changes: 7 additions & 1 deletion src/components/WindowCanvasNavigationControls.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,13 @@ const WindowCanvasNavigationControls = ({
>
<PreviousCanvasIcon />
</MiradorMenuButton>
<label className={classes.canvasPosition} htmlFor={inputId}>
<label
className={classNames(
classes.canvasPosition,
ns("canvas-position"),
)}
htmlFor={inputId}
>
{t("scan")}
<input
className={classes.canvasInput}
Expand Down

0 comments on commit a044e81

Please sign in to comment.