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

List Width #607

Open
deep021985 opened this issue Dec 6, 2018 · 1 comment
Open

List Width #607

deep021985 opened this issue Dec 6, 2018 · 1 comment

Comments

@deep021985
Copy link

deep021985 commented Dec 6, 2018

I have only two columns which occupies entire screen. Is there any way to reduce the width of list table through config or helper. I was trying to override the the list through _list.erb but here I have to rewrite the whole CSS and JavaScript again for this small issue.

@scambra
Copy link
Member

scambra commented Dec 7, 2018

To change appearance you don't have to overwrite views or helpers, only change with CSS, e.g.

.active-scaffold.<controller-name>-view table {
  width: auto;
}

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