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

activeadmin scopes (aka tabs at the top of index table) are just styleless ul-li bulleted list #5

Open
okliv opened this issue Apr 4, 2016 · 8 comments

Comments

@okliv
Copy link

okliv commented Apr 4, 2016

there is nothing to say more )

ul.scopes > li.scope > a

i have last activeadmin, rails 4, ruby 2.2.1, active_bootstrap_skin 0.1.1

@vinhnglx
Copy link
Owner

vinhnglx commented Apr 5, 2016

@okliv it would be great if you can contribute to this ;)

@krtschmr
Copy link
Contributor

krtschmr commented Jul 27, 2016


ul.scopes {
  li.scope {
    display: inline-block;
    list-style-type: none;
    margin-bottom: 4px;
  }
  li.scope a{ @extend .btn; @extend .btn-default; }
  li.scope.selected a { @extend .btn-primary; }
}

want a pullrequest for that?

@vinhnglx
Copy link
Owner

sure, thanks a lot man @krtschmr

@krtschmr
Copy link
Contributor

#14

@vinhnglx
Copy link
Owner

vinhnglx commented Aug 2, 2016

@krtschmr Version 0.1.4 is released with your PR. Thanks a lot man :)

@krtschmr
Copy link
Contributor

krtschmr commented Aug 2, 2016

It's somehow a little bit buggy. i saw strange sideeffects when they get
a float right (if batch actions are there as well).

need to digg in deeper

On 02.08.2016 23:36, Vinh Nguyen wrote:

@krtschmr https://github.com/krtschmr Version 0.1.4 is released with
your PR. Thanks a lot man :)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMv1uk0cUCKowg_0e04ZYOD7TEGQyFrDks5qb3IfgaJpZM4H-1aC.

@vinhnglx
Copy link
Owner

vinhnglx commented Aug 2, 2016

Ok. Thank you, man. Hope will get your PR soon. I'll make an example
application for the gem soon.

On Wed, Aug 3, 2016 at 12:39 AM, Tim [email protected] wrote:

It's somehow a little bit buggy. i saw strange sideeffects when they get
a float right (if batch actions are there as well).

need to digg in deeper

On 02.08.2016 23:36, Vinh Nguyen wrote:

@krtschmr https://github.com/krtschmr Version 0.1.4 is released with
your PR. Thanks a lot man :)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/vinhnglx/active_bootstrap_skin/issues/5#issuecomment-236963054>,

or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AMv1uk0cUCKowg_0e04ZYOD7TEGQyFrDks5qb3IfgaJpZM4H-1aC
.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB55UQUOREP1ktPSozNZI1N8K2kv55Qdks5qb3KvgaJpZM4H-1aC
.

Ruby Developer
Betacode Sdn Bhd (1109222-K)
Phone: (+60) 167557808
Skype: vinhnglx
Email: [email protected]

@opensourceame
Copy link

->
  $('.scopes ul').addClass('nav nav-pills')

in active_admin.coffee.js worked for me.

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

No branches or pull requests

4 participants