Skip to main content
[1.1.3] attachment details Started by Jorin · · Read 4803 times 0 Members and 1 Guest are viewing this topic. previous topic - next topic

[1.1.3] attachment details

Oops, what happened here?

oops.png

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

Re: [1.1.3] attachment details

Reply #1

It seems I'm the one with problems! Strange, attachments from another user look okay.

Re: [1.1.3] attachment details

Reply #2

It depends on the width of the image (actually on the ratio I guess).
Bugs creator.
Features destroyer.
Template killer.

Re: [1.1.3] attachment details

Reply #3

You mean when it's wider then the text box below?

Re: [1.1.3] attachment details

Reply #4

Yes.
Bugs creator.
Features destroyer.
Template killer.

Re: [1.1.3] attachment details

Reply #5

I think you are right. In the meantime I've seen the same behaviour with other images wider then the text box.

Re: [1.1.3] attachment details

Reply #6

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

Re: [1.1.3] attachment details

Reply #7

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?

Re: [1.1.3] attachment details

Reply #8

It should have been in your main index.css, undo whatever you did and see if that line is in that main css file

Re: [1.1.3] attachment details

Reply #9

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.




Re: [1.1.3] attachment details

Reply #10

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.
Bugs creator.
Features destroyer.
Template killer.