Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 'New quiz' button is visible in the print report #12945

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions kolibri/plugins/coach/assets/src/views/lessons/LessonsRootPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
<KPageContainer>
<CoachHeader :title="coreString('lessonsLabel')">
<template #actions>
<KRouterLink
primary
appearance="raised-button"
:text="coachString('newLessonAction')"
:to="newLessonRoute"
/>
<div class="lesson-button">
<KRouterLink
primary
appearance="raised-button"
:text="coachString('newLessonAction')"
:to="newLessonRoute"
/>
</div>
</template>
</CoachHeader>
<div>
Expand Down Expand Up @@ -500,4 +502,10 @@
margin-bottom: 16px;
}

@media print {
.lesson-button {
display: none;
}
}

</style>
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<template #actions>
<KButton
v-if="practiceQuizzesExist && !hasNoChannels"
class="new-quiz-button"
primary
hasDropdown
appearance="raised-button"
Expand Down Expand Up @@ -650,4 +651,10 @@
margin: 0 0 1em;
}

@media print {
.new-quiz-button {
display: none;
}
}

</style>
Loading