Fix pager styles on SPA and MVC webstes
This commit is contained in:
parent
463b2569be
commit
9bd73c42cb
2
src/Web/WebMVC/wwwroot/css/app.min.css
vendored
2
src/Web/WebMVC/wwwroot/css/app.min.css
vendored
File diff suppressed because one or more lines are too long
@ -12,7 +12,8 @@
|
||||
}
|
||||
|
||||
.esh-pager-item--navigable.is-disabled {
|
||||
display: none;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.esh-pager-item--navigable:hover {
|
||||
|
@ -4,7 +4,7 @@
|
||||
<nav>
|
||||
<span class="esh-pager-item esh-pager-item--navigable"
|
||||
id="Previous"
|
||||
[hidden]="buttonStates?.previousDisabled"
|
||||
[ngClass]="{'is-disabled': buttonStates?.previousDisabled}"
|
||||
(click)="onPreviousCliked($event)"
|
||||
aria-label="Previous">
|
||||
Previous
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
<span class="esh-pager-item esh-pager-item--navigable"
|
||||
id="Next"
|
||||
[hidden]="buttonStates?.nextDisabled"
|
||||
[ngClass]="{'is-disabled': buttonStates?.nextDisabled}"
|
||||
(click)="onNextClicked($event)"
|
||||
aria-label="Next">
|
||||
Next
|
||||
|
@ -11,6 +11,11 @@
|
||||
$margin: 5vw;
|
||||
margin: 0 $margin;
|
||||
|
||||
&.is-disabled {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
&--navigable {
|
||||
cursor: pointer;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user