Skip to content

Commit 3dcc6f5

Browse files
committed
Update uui-pagination.element.ts
1 parent 7478b49 commit 3dcc6f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/uui-pagination/lib/uui-pagination.element.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { property, query, queryAll, state } from 'lit/decorators.js';
33
import { UUIButtonElement } from '@umbraco-ui/uui-button/lib/uui-button.element';
44
import { UUIPaginationEvent } from './UUIPaginationEvent';
55

6+
//this is how wide the button gets when it has 3 digits inside.
67
const PAGE_BUTTON_MAX_WIDTH = 45;
78

89
const valueLimit = (val: number, min: number, max: number) => {

0 commit comments

Comments
 (0)