Removed white space

This commit is contained in:
Matthew Bentley 2020-05-29 10:05:56 -07:00
commit c296ef271c

View file

@ -17,7 +17,7 @@
export let pageText = page => `page ${page}`; export let pageText = page => `page ${page}`;
export let style = undefined; export let style = undefined;
export let totalItems = 0; export let totalItems = 0;
import CaretLeft24 from 'carbon-icons-svelte/lib/CaretLeft24'; import CaretLeft24 from 'carbon-icons-svelte/lib/CaretLeft24';
import CaretRight24 from 'carbon-icons-svelte/lib/CaretRight24'; import CaretRight24 from 'carbon-icons-svelte/lib/CaretRight24';
import { cx, fillArray } from '../../lib'; import { cx, fillArray } from '../../lib';
@ -71,7 +71,7 @@
class={cx('--select__page-number')} class={cx('--select__page-number')}
labelText={`Page number, of ${totalPages} pages`} labelText={`Page number, of ${totalPages} pages`}
inline inline
hideLabel hideLabel
bind:selected={page}> bind:selected={page}>
{#each selectItems as size, i (size)} {#each selectItems as size, i (size)}
<SelectItem value={size + 1} text={(size + 1).toString()} /> <SelectItem value={size + 1} text={(size + 1).toString()} />
@ -85,7 +85,7 @@
type="button" type="button"
class={cx('--pagination__button', '--pagination__button--backward', backButtonDisabled && '--pagination__button--no-index')} class={cx('--pagination__button', '--pagination__button--backward', backButtonDisabled && '--pagination__button--no-index')}
on:click|capture={() => { on:click|capture={() => {
page--; page--;
}} }}
aria-label={backwardText} aria-label={backwardText}
disabled={backButtonDisabled}> disabled={backButtonDisabled}>
@ -96,7 +96,7 @@
class={cx('--pagination__button', '--pagination__button--forward', forwardButtonDisabled && '--pagination__button--no-index')} class={cx('--pagination__button', '--pagination__button--forward', forwardButtonDisabled && '--pagination__button--no-index')}
aria-label={forwardText} aria-label={forwardText}
on:click|capture={() => { on:click|capture={() => {
page++; page++;
}} }}
disabled={forwardButtonDisabled}> disabled={forwardButtonDisabled}>
<CaretRight24 /> <CaretRight24 />