Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12889

multi-select element in unban email-adresses not limited in width

    Details

      Description

      In MCP in the mcp_ban module where you can ban/unban email-adresses the multi-select element with all the banned email-addresses is not limited in it's width so it overlaps with the borders of the page if an email-address is long enough.

      Steps to reproduce:
      1. Ban a very very long email-address
      2. Adjust the width of your window and see what happens.

        Activity

        Hide
        Senky Senky added a comment -

        I can reproduce this:

        Now, the thing is like that. It is enough to add new rule to CSS:

        dd select[multiple] {
           width: 100%;
        }
        

        However this will just make select element having proper width - it will not break long email address to multiple lines (see: http://easycaptures.com/fs/uploaded/847/0278201649.jpg). So long email still overflows the width of the select element. As far as I tried to fix this with

        word-wrap: break-word;

        , this will not help. So maybe this is really impossible to do.
        But I would at least fix that whole select element overflowing problem...

        Show
        Senky Senky added a comment - I can reproduce this: Now, the thing is like that. It is enough to add new rule to CSS: dd select[multiple] { width: 100%; } However this will just make select element having proper width - it will not break long email address to multiple lines (see: http://easycaptures.com/fs/uploaded/847/0278201649.jpg ). So long email still overflows the width of the select element. As far as I tried to fix this with word-wrap: break-word; , this will not help. So maybe this is really impossible to do. But I would at least fix that whole select element overflowing problem...

          People

          • Assignee:
            prototech prototech
            Reporter:
            Elsensee Oliver Schramm
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development