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

Fix group, org member tables in mobile view #3435

Merged

Conversation

wildcatzita
Copy link

No description provided.

@MrkGrgsn
Copy link
Contributor

This new CSS will potentially alter the styling of more tables than you intend, since it will apply to the first 3 columns of any table that uses col elements. You need to use targeted CSS selectors, altering the template to make if required (e.g., adding a class to the col's or table)

@wildcatzita
Copy link
Author

wildcatzita commented Feb 14, 2017

@MrkGrgsn, I've added class in templates instead col tag.

Issue with member table:
ckan_members_320_error
ckan_members_480_error

Fixed:
ckan_members_320
ckan_members_480

@smotornyuk
Copy link
Member

@wildcatzita , i just noticed, that you'll get the same effect if you omit with attribute on col tags, even without adding anything to css. Could you check this and update you PR if i right?

@wildcatzita
Copy link
Author

@smotornyuk, fixed. Can yo check please?

<th scope="col"></th>
<th class="col-user">{{ _('User') }}</th>
<th class="col-role">{{ _('Role') }}</th>
<th class="col-actions"></th>
</tr>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you still need these classes?

@smotornyuk
Copy link
Member

I think it can be merged now

@amercader amercader merged commit e0cf535 into ckan:master Feb 21, 2017
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

Successfully merging this pull request may close these issues.

None yet

4 participants