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

Pagination style suggestion #5557

Closed
ken1987 opened this issue Mar 29, 2017 · 3 comments
Closed

Pagination style suggestion #5557

ken1987 opened this issue Mar 29, 2017 · 3 comments
Labels
Accept You are right, we should do that help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request.

Comments

@ken1987
Copy link

ken1987 commented Mar 29, 2017

What problem does this feature solve?

在使用Pagination时,希望内容能靠右对齐,那么需要如下代码:

<div class="clearfix">
  <Pagination size="small" style={{float: right}} />
</div>

What does the proposed API look like?

把使用 float 布局的样式,改用 inline-block

那样,只需要添加一句样式就能居右对齐,且不需要格外的标签

<Pagination size="small" style={{text-align: right}} />
@afc163
Copy link
Member

afc163 commented Mar 29, 2017

I think this could be accepted, can you propose a PR for this?

Also style={{text-align: right}} should be style={{textAlign: right}}.

@afc163 afc163 added Accept You are right, we should do that help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. labels Mar 30, 2017
@afc163
Copy link
Member

afc163 commented Mar 30, 2017

@ken1987

@afc163 afc163 changed the title Pagination 样式建议 Pagination style suggestion Mar 30, 2017
@afc163 afc163 closed this as completed in 58e521d Apr 1, 2017
@lock
Copy link

lock bot commented May 1, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Accept You are right, we should do that help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request.
Projects
None yet
Development

No branches or pull requests

2 participants