SMF icon indicating copy to clipboard operation
SMF copied to clipboard

Input overflow

Open sicommnend opened this issue 10 years ago • 15 comments

Don't know if this has been brought up. I couldn't find any mention of it so forth.

In mobile and sometimes even on my desktop I am having the problem of input boxes overflowing their boundaries. This results in either a scroll bar below them or part of the input box hidden.

I was wondering if it was feasible just to put a max-width on all inputs in the CSS to prevent overflow.

Likeinput, button, select { font-size: 0.9em; }

Turns into input, button, select { font-size: 0.9em; max-width: 99%; }

sicommnend avatar May 02 '16 02:05 sicommnend

can you also link page & write phone specs (or just name).

XinYenFon avatar May 02 '16 02:05 XinYenFon

http://dev.sicomm.us/2.1/index.php?action=search

Desktop Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.86 Safari/537.36

sicommnend avatar May 02 '16 02:05 sicommnend

Give the link some time, I just started uploading the latest source to it a few minutes ago.

sicommnend avatar May 02 '16 02:05 sicommnend

I can't reproduce this on my localhost (Chrome 50)

XinYenFon avatar May 02 '16 02:05 XinYenFon

Sorry broke the test site, just restored. Here is a post with the image attached.

sicommnend avatar May 02 '16 02:05 sicommnend

http://dev.sicomm.us/2.1/index.php?topic=4.0

sicommnend avatar May 02 '16 02:05 sicommnend

Please attach images here.

XinYenFon avatar May 02 '16 13:05 XinYenFon

screenshot from 2016-05-01 20 29 55 Sorry, hardly use this form, didn't know I could upload images directly here.

sicommnend avatar May 03 '16 02:05 sicommnend

I visited your site with Chrome/50 sorry can't reproduce. I also visited different sites with SMF 2.1 beta3, can't reproduce in any of them.

XinYenFon avatar May 03 '16 02:05 XinYenFon

Do you have a zoom or a user.css file? Try it in incognito mode to make sure an extension isn't causing that as well.

jdarwood007 avatar May 03 '16 04:05 jdarwood007

Same in incognito mode, no user defined style sheets, I figure out what CSS element is causing the issue. font: 83.33%/150% "Segoe UI", "Helvetica Neue", "Nimbus Sans L", Arial, "Liberation Sans", sans-serif; This is part of index.css. If I disable this CSS the problem goes away.

I also ran a search for other SMF 2.1 test forums on the net and the same happens on other sites. Maybe it isn't so much my browser but my OS. I haven't looked into the fonts in the CSS, but I am guessing here I probably don't have one of them.

Here is a screenshot from another SMF test site. screenshot from 2016-05-03 20 45 43

sicommnend avatar May 04 '16 02:05 sicommnend

Figured out what font it is "Nimbus Sans L" Remove this font and the form displays correctly.

sicommnend avatar May 04 '16 02:05 sicommnend

Anything left here? It seems very specific issue with user.

XinYenFon avatar Jun 18 '16 00:06 XinYenFon

this is not a user specific issue. i think this is an OS specific issue. i think this the other fonts may not be found/loaded before that one it becomes the default the user sees and it is not the same size as other fonts. maybe another font should be selected that is more similar in size? maybe coreisp can shed some light on this as i think he uses linux.

illori avatar Jun 20 '16 00:06 illori

Well you should mention him here first :P @CoreISP

XinYenFon avatar Aug 07 '16 16:08 XinYenFon