ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: Jorin on June 21, 2018, 01:47:40 am

Title: [1.1.3] attachment details
Post by: Jorin on June 21, 2018, 01:47:40 am
Oops, what happened here?

(Link-5966)

Here's a link too: https://forum-alternative-antriebe.de/index.php/topic,6805.msg135491.html#msg135491

Of course with my IE11.  ::)

ETA: moved the second report to https://www.elkarte.net/community/index.php?topic=5314.0
Title: Re: [1.1.3] attachment details
Post by: Jorin on June 21, 2018, 05:54:48 am
It seems I'm the one with problems! Strange, attachments from another user look okay.
Title: Re: [1.1.3] attachment details
Post by: emanuele on June 21, 2018, 06:29:09 am
It depends on the width of the image (actually on the ratio I guess).
Title: Re: [1.1.3] attachment details
Post by: Jorin on June 21, 2018, 06:39:11 am
You mean when it's wider then the text box below?
Title: Re: [1.1.3] attachment details
Post by: emanuele on June 21, 2018, 07:21:01 am
Yes.
Title: Re: [1.1.3] attachment details
Post by: Jorin on June 21, 2018, 07:31:38 am
I think you are right. In the meantime I've seen the same behaviour with other images wider then the text box.
Title: Re: [1.1.3] attachment details
Post by: Spuds on June 21, 2018, 09:48:37 am
Could you try changing the css for a test .... find

Code: [Select]
.attachment_name, .attachment_details {

and change from display: block to display: inline-block ... that may help
Title: Re: [1.1.3] attachment details
Post by: Jorin on June 22, 2018, 08:31:45 am
Didn't found the "display: block;" line in the default theme's light CSS. I only had this:

Code: [Select]
.attachment_name {
border-bottom: none;
}
.attachment_details {
border-top: none;
border-radius: 0 0 .5em .5em;
}

I changed it to:

Code: [Select]
.attachment_name {
border-bottom: none;
display: inline-block;
}
.attachment_details {
border-top: none;
border-radius: 0 0 .5em .5em;
display: inline-block;
}

Still looks the same. No difference. My custom CSS file doesn't have this code at all, so that should not be a problem, right?
Title: Re: [1.1.3] attachment details
Post by: Spuds on June 22, 2018, 05:21:18 pm
It should have been in your main index.css, undo whatever you did and see if that line is in that main css file
Title: Re: [1.1.3] attachment details
Post by: Jorin on June 23, 2018, 12:21:56 am
Oh okay, found it in themes/default/css/index.css. But I am using the light variant, shouldn't it be in the light css file then?

Anyway, I changed it in the main theme css (my theme hasn't one, only a light css file) and nothing changes.



Title: Re: [1.1.3] attachment details
Post by: emanuele on June 23, 2018, 02:14:41 am
Quote from: Jorin – Oh okay, found it in themes/default/css/index.css. But I am using the light variant, shouldn't it be in the light css file then?
Variants change colors, main theme defines structure.
Display is not a color, but is structure, so main theme.