-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Update template/pagination/pagination.html #174
Conversation
Display the pagination links with the right cursor.
Should this not be done with CSS? |
@christianotter what do you mean exactly by "the right cursor"? I had a brief look and can't see CSS selector it twitter's bootstrap that would match based on its href attrib. I don't mind merging your PR as it is not harmful but would like to make sure that we are fixing the right problem. |
Actually when you say it does no harm, you ought to consider this line: On 28 February 2013 11:26, Pawel Kozlowski [email protected] wrote:
|
Yes, I know this code, but it is testing for href value, not the attribute presence. BTW: we've got similar empty href in tabs: https://github.com/angular-ui/bootstrap/blob/master/template/tabs/tabs.html#L4 So, unless I'm mistaken it really doesn't do any harm as the current AngularJS implementation stands. But yes, I would like to better understand what is going on with this cursor. |
I think this is relevant: http://stackoverflow.com/a/2409858/287070. Personally, I would prefer that this is done in CSS. .pagination a { On 28 February 2013 11:54, Pawel Kozlowski [email protected] wrote:
|
@christianotter Finally I think that I agree with @petebacondarwin. We shouldn't be adding "dummy" attributes for the CSS purposes if this can be avoided. Going to close this PR for now and remove href from other templates. Please do ping and convince us if you feel strongly otherwise. |
@pkozlowski-opensource the problem is that cursor is broken in angular-ui bootstrap pagination (Firefox Ubuntu/Windows and IE) compared with the one in bootstrap. Not having a fix because it's not the best, still leaves the issue. Options to fix, so that it works for users out the box, in order of ease are:
Option 1 seems cheapest. |
@bajamircea I understand this but we've got a bit of a problem here as those additional So option (1) is the "cheapest" but apparently breaks some applications. I would try (3) but it might be hard in practice. In any case dropping Not sure what is the best curse of actions here... If the reloading doesn't affect your web application you can always change default templates and add those missing attributes. |
feat(templates): Support disabled options in select menu.
Display the pagination links with the right cursor.