Skip to content

Commit

Permalink
Merge pull request learningequality#673 from AlexVelezLl/fix-ktabs-ex…
Browse files Browse the repository at this point in the history
…tra-space

Fix ktabs extra space
  • Loading branch information
AlexVelezLl authored Jul 1, 2024
2 parents 9d2a147 + fab0b72 commit cf84aaa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ Changelog is rather internal in nature. See release notes for the public overvie

## Version 4.x.x (`release-v4` branch)

- [#673]
- **Description:** Remove white space below Ktabs
- **Products impact:** bugfix.
- **Addresses:** https://github.com/learningequality/kolibri/issues/12297.
- **Components:** KTabsList, KTabs, KTabsPanel.
- **Breaking:** no
- **Impacts a11y:**no
- **Guidance:** .

[#673]: https://github.com/learningequality/kolibri-design-system/pull/673

- [#629]
- **Description:** Improves the contrast for highlighted text, noted in KTextbox
- **Products impact:** None
Expand Down
3 changes: 3 additions & 0 deletions lib/tabs/KTabsList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,9 @@
border-top-left-radius: $radius;
border-top-right-radius: $radius;
transition: background-color $core-time ease;
// Setting vertical align here to prevent an extra space below the tabs
// https://stackoverflow.com/questions/23529369/why-does-x-overflowhidden-cause-extra-space-below
vertical-align: middle;
@media print {
min-width: 0;
Expand Down

0 comments on commit cf84aaa

Please sign in to comment.