Skip to main content
Topic: [1.0.1] Text links (Read 3993 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[1.0.1] Text links

It seems that there is a problem with text links. See the screenshot please. There is enough space on the right so "Apps von Google" should be shown there, not in a new row beginning on the left.

Re: [1.0.1] Text links

Reply #1

Personally, I don't consider that a problem. lol I'd rather the link stay all together.

Comment out these two lines in index.css to change it to what you like.
Code: [Select]
/* Shorten url's inside posts. */
a.bbc_link {
/* display: inline-block; */
/* white-space: nowrap; */
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
vertical-align: bottom;
}
Success is not the result of spontaneous combustion, you must set yourself on fire!

Re: [1.0.1] Text links

Reply #2

So it's not a bug, it's a feature!  :o :-[

Yep, I understand that it can make sense not to split a link. Hm, I'll think about changing or not. Thanks.

Re: [1.0.1] Text links

Reply #3

It's half-a-feature let's say.
For example:
this is a very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very, very long text inside a link that would be loner than a single line in most of the cases, and if it doesn't resize a bit the browser window. :P
This of course is an example, but from time to time it happens that someone posts some link from google with tons of gibberish that spans several lines. This "trick" is to shorten that link to an acceptable size.
Bugs creator.
Features destroyer.
Template killer.


Re: [1.0.1] Text links

Reply #5

Yes, it is "shortened". The maximum allowed it's the page width, anything longer is cut.
This is obtained through CSS alone, and CSS can do only that much.
At the beginning it was a fixed maximum width, then it was changed to fill the page width (otherwise it was cutting too much texts).
It could be improved adding some javascript magic to find an "optimal" width I guess. Or not to cut it if it contains spaces, or a combination of all that.

ETA: in the scree what I see.
Bugs creator.
Features destroyer.
Template killer.

Re: [1.0.1] Text links

Reply #6

Ah, okay, the IE6 at my office shows the unshortened link in your post.

Re: [1.0.1] Text links

Reply #7

IE6 ?  :o your company should update to 8 or switch to another browser
sorry for my bad english

Re: [1.0.1] Text links

Reply #8

O_O

Okay, IE6 is not really supposed to be supported. :P
Elk should be IE8+ and I'm not entirely sure if everything works on IE8 either. It should, but something may not be perfect (I seem to remember IE8 doesn't support rounded corners for example, and maybe other stuff).
Bugs creator.
Features destroyer.
Template killer.

Re: [1.0.1] Text links

Reply #9

Sorry, it's an IE9. :-[

Re: [1.0.1] Text links

Reply #10

No problem. ;D

 emanuele wonders if @Spuds has an IE9 around to try it out.
Bugs creator.
Features destroyer.
Template killer.

Re: [1.0.1] Text links

Reply #11

I do :D  .. and it did not truncate in my ie9 vbox ... adding
Code: [Select]
word-wrap: normal;
to the a.bbc_link declaration seemed to do the trick.

Re: [1.0.1] Text links

Reply #12

Memo: I see it applied to the patch_1-0-2 branch so it should be fixed.
Bugs creator.
Features destroyer.
Template killer.