Meta Issue:#1870944: [Meta] Mobile friendly admin pages

Problem/Motivation

Search results both user and nodes are ordered lists. The numbers 1, 2 etc are partly visible in Narrow screens.

Admin URL examples:

  • search/node/%
  • search/user/%

Proposed resolution

To be determined.

Remaining tasks

To be determined.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rcaracaus’s picture

I have tried my hand at submitting a fix for this. However there are still some design decisions that need to be made.

This fix reverts to the themes default padding for ols, adding back a padding of what looks like 15px to the left. The bad part is that the border is also pushed over, can't think of a way to fix that without adding extra markup and adding negative padding. Not sure if this is an issue, it beats not the numbers being cut off on mobile and the numbers being pulled between the columns even on normal displays.

rcaracaus’s picture

echoz’s picture

Status: Active » Needs review
FileSize
29.03 KB
428 bytes

How about list-style-position: inside; and I think it looks better wide too, so not wrapping with a media query. Note that the ol qualifier was needed on the selector :-( and @rcaracaus, you know there's no such css as negative padding, right?

rcaracaus’s picture

Nice.. I didn't know about list-style-position: inside; That is very useful... also I meant to say negative margin.

rcaracaus’s picture

I tested this locally.. and looked at it in different displays.. looks good.

Shyamala’s picture

Issue tags: +Novice, +Needs manual testing

adding tags

echoz’s picture

Issue tags: -Novice, -Needs manual testing

I tested this locally.. and looked at it in different displays.. looks good.

@rcaracaus, so is the patch in #3 rtbc for you? The file hasn't changed since so it should apply fine.

echoz’s picture

Issue tags: +Novice, +Needs manual testing

tags removed by d.o unintentionally

rcaracaus’s picture

I have tested the patch and it looked OK to me. I am not sure what standards are for rtbc.

carwin’s picture

Status: Needs review » Reviewed & tested by the community

Patch in #3 applies cleanly and list-style-position: inside; seems like a fine solution to the problem.

RTBC. Huzzah!

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Awesome work on this!

Committed and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.