Skip to content

Commit

Permalink
Merge pull request #11122 from LianaHarris360/vertical-spacing-resour…
Browse files Browse the repository at this point in the history
…ce-views

Fix resource viewing wasted vertical spacing for smaller devices
  • Loading branch information
rtibbles authored Aug 21, 2023
2 parents 3d54cba + fac2319 commit 2ef4d39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ oriented data synchronization.
import responsiveWindowMixin from 'kolibri.coreVue.mixins.responsiveWindowMixin';
import BottomAppBar from 'kolibri.coreVue.components.BottomAppBar';
import CoreInfoIcon from 'kolibri.coreVue.components.CoreInfoIcon';
import { createTranslator } from 'kolibri.utils.i18n';
import { defaultLanguage } from 'kolibri-design-system/lib/utils/i18n';
import { createTranslator, defaultLanguage } from 'kolibri.utils.i18n';
import LessonMasteryBar from './LessonMasteryBar';
import ExerciseAttempts from './ExerciseAttempts';

Expand Down
2 changes: 2 additions & 0 deletions kolibri/plugins/learn/assets/src/views/TopicsPage/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,8 @@
style = {
minHeight: '900px',
};
} else {
style.top = '60px';
}
if (this.isRtl) {
style.marginRight = `${this.sidePanelWidth + 24}px`;
Expand Down

0 comments on commit 2ef4d39

Please sign in to comment.