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

[Yeti] Pagination style problem with Laravel #496

Closed
kscheung opened this issue Aug 6, 2015 · 1 comment
Closed

[Yeti] Pagination style problem with Laravel #496

kscheung opened this issue Aug 6, 2015 · 1 comment

Comments

@kscheung
Copy link

kscheung commented Aug 6, 2015

I am using Laravel with Yeti theme, however, the default pagination block generated by it has a problem with this theme.

The disabled and active link is larger than other page links. The cause of it could be the generated element inside li.disable and li.active is span instead of a.

Bootstrap itself has defined the padding for both span and a under .pagination-sm. So I think the theme should override for both tags too.

This is the sample default pagination code generated by laravel

<ul class="pagination pagination-sm">
    <li class="disabled"><span>«</span></li>
    <li class="active"><span>1</span></li>
    <li><a href="http://some-url?page=2">2</a></li>
    <li><a href="http://some-url?page=3">3</a></li>
    <li><a href="http://some-url?page=4">4</a></li>
    <li><a href="http://some-url?page=5">5</a></li>
    <li><a href="http://some-url?page=6">6</a></li>
    <li><a href="http://some-url?page=7">7</a></li>
    <li><a href="http://some-url?page=8">8</a></li>
    <li><a href="http://some-url?page=2" rel="next">»</a>
    </li>
</ul>
@thomaspark
Copy link
Owner

Thanks for the bug report, fix inbound.

mwalz added a commit to mwalz/bootswatch that referenced this issue Oct 16, 2015
…nto emagine-styles

# By Thomas Park (106) and others
# Via Thomas Park
* 'gh-pages' of https://github.com/thomaspark/bootswatch: (132 commits)
  update api path and demo
  superhero: use default font-weight, closes thomaspark#522
  include the CSS and SASS fixes
  parentheses appear to be needed here for less
  make table of contents anchor links consistent
  add table of contents to sections, closes thomaspark#519
  Fix google font import issue with scss
  add npmignore, closes thomaspark#512
  paper: fix styling of forms in navbar, closes thomaspark#511
  set web font path as variable that can be overridden, closes thomaspark#507
  rename bootswatch assets to custom to reduce confusion
  paper: focused checkboxes have colored border, closes thomaspark#505
  Add FontCDN to tools section
  paper: fix checkbox/radio alignment in firefox, closes thomaspark#497
  yeti: fix padding for pagination spans, closes thomaspark#496
  spacelab: remove text-shadow on btn-link
  wide button column on preview pages
  style btn-link as flat button, tweak all buttons, closes thomaspark#495
  update bootstrapcdn links
  paper: give colored underline to readonly inputs, closes thomaspark#491
  ...

# Conflicts:
#	darkly/bootstrap.css
#	darkly/bootstrap.min.css
#	flatly/bootstrap.css
#	flatly/bootstrap.min.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants