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

Hide prev/next entry control on mobile #1367

Merged
merged 2 commits into from
Apr 5, 2022
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<span class="d-none d-md-inline-block">List</span></a>
</div>
<div class="float-right" data-ng-show="$ctrl.isAtEditorEntry()">
<div class="btn-group" ng-form="validateGoto" ng-hide="$ctrl.entryListModifiers.filterActive()">
<div class="btn-group hide-on-mobile" ng-form="validateGoto" ng-hide="$ctrl.entryListModifiers.filterActive()">
<button class="btn btn-std" data-ng-click="$ctrl.skipToEntry(-1)" ng-disabled="!$ctrl.canSkipToEntry(-1)">
<span class="fa fa-arrow-left"></span> <span class="d-none d-lg-inline-block">Previous</span>
</button>
Expand Down Expand Up @@ -43,7 +43,7 @@
</div>
</div>
</div>
<div class="row dc-rendered-on-desktop" data-ng-if="$ctrl.isAtEditorEntry()">
<div class="row hide-on-mobile" data-ng-if="$ctrl.isAtEditorEntry()">
<div class="col">
<div class="word-definition-title">
<dc-rendered config="$ctrl.lecConfig.entry" global-config="$ctrl.lecConfig"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
}
@include media-breakpoint-down(sm) {
.dc-rendered-on-desktop {
.hide-on-mobile {
display: none;
}
}
Expand Down