ashishkranjan / dabr

Automatically exported from code.google.com/p/dabr
0 stars 0 forks source link

Touch theme strict for iPhone #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What would you like dabr to do?
Strict iPhone (touch theme) to 320px.

How would you prefer dabr to do it?
In "browsers\touch.php", there's a commented line:
66 $out .= '<style type="text/css">body { word-wrap: break-word; text-overflow: 
ellipsis; } table {width: 320px;}</style>';

It works. But if anyone posted a very long URL without shortening, the page 
will break.

I think there should be a "word-break: break-all;". This will help Dabr breaks 
down long URLs.

Original issue reported on code.google.com by Julien.G...@gmail.com on 24 Aug 2010 at 5:04

GoogleCodeExporter commented 9 years ago
add css to "a" .If added to body, the words "break-all" and you'll be unlikely 
to like the all-breaking words.

better idea is to catch long elements and add css to it independently.(ofcourse 
php-side)

for iphone knows how to break smart, except for single words that break the 
screen width...

P.S. for the long url pagelayout screw, "div 320*xxx" doesn't work. "<meta>" 
doesn't work.

tested on an iphone 2G os 3.1.2

Original comment by yankeb...@gmail.com on 6 Sep 2010 at 10:38

GoogleCodeExporter commented 9 years ago
This should have been fixed in r400

Original comment by terence.eden on 13 Jun 2011 at 12:33