Skip to content

Commit

Permalink
Fix scrollbars in corpus chooser info box, fix #333
Browse files Browse the repository at this point in the history
  • Loading branch information
arildm committed Jan 29, 2024
1 parent 4863377 commit 440e6e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [9.5.1-dev]

### Fixed

- Unnecessary scrollbars in the corpus selector info panel [#333](https://github.com/spraakbanken/korp-frontend/issues/333)

## [9.5.0] - 2023-01-22

### Added
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/components/corpus_chooser/corpus_chooser.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const corpusChooserComponent = {
{{ $ctrl.selectedNumberOfSentences | prettyNumber }} {{'corpselector_sentences_long' | loc:$root.lang}}
</p>
</div>
<cc-info-box ng-if="$ctrl.showInfoBox" class="sticky top-0 bg-gray-100" style="width: 480px; overflow: scroll;" object="$ctrl.infoNode"></cc-info>
<cc-info-box ng-if="$ctrl.showInfoBox" class="sticky top-0 bg-gray-100 overflow-auto" style="width: 480px;" object="$ctrl.infoNode"></cc-info>
</div>
</div>
`,
Expand Down

0 comments on commit 440e6e8

Please sign in to comment.