Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Broken layout without labels #31

Closed
sapegin opened this issue Jun 14, 2013 · 2 comments
Closed

Broken layout without labels #31

sapegin opened this issue Jun 14, 2013 · 2 comments
Labels

Comments

@sapegin
Copy link
Owner

sapegin commented Jun 14, 2013

@Alex-Sokolov
Copy link

Maybe in Button.prorotype add check for empty text?

...
initHtml: function() {
    var options = this.options,
         widget = this.widget;
    var isLink = !!options.clickUrl;

    if (widget.text() === '') {
        if (widget.hasClass('plusone')) {
            widget.html('+ ');
        } else {
            widget.html(' ');
        }
    }
...

@sapegin
Copy link
Owner Author

sapegin commented Jun 17, 2013

@Alex-Sokolov you’re kidding, aren’t you? Why use JS to fix CSS bug?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants