Skip to content

Ensure same padding around text in pagination #678

Open
@bjarnef

Description

@bjarnef

Which exact UI Library version are you using? For example: 1.0.1 - don't just write v1.

1.4.0

Bug summary

I played with <uui-table> and <uui-pagination> in a dashboard in Umbraco 12.3.3 combined with Angular.

However it seems the "Previous" doesn't get much padding compared to the others due a minimum width.

image

I think the minimum width it not needed or eventually just be e.g. 40px.

It seems to work better changing these:

--uui-button-padding-left-factor: 1;
--uui-button-padding-right-factor: 1;

to

--uui-button-padding-left-factor: 2;
--uui-button-padding-right-factor: 2;

it does look a bit nicer here though.
https://uui.umbraco.com/?path=/docs/uui-pagination--docs

however without the minimum width the buttons has same visually spacing around the text:

image

Specifics

No response

Steps to reproduce

Add <uui-pagination> component and notice spacing around button text.

Expected result / actual result

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageThis issue has not been tested by a team member yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions