ElkArte Community

Title: [1.0.3] recent posts all the same height?
Post by: Jorin on April 01, 2015, 01:07:57 am
Maybe a problem, maybe not. The list of recent posts should - in my opinion - show the complete post, not a fixed height. My users often use quotes, so this list often shows only quotes while the text of the post itself is hidden. That's because this list uses a fixed height. Shouldn't it show the complete post?
Title: Re: [1.0.3] recent posts all the same height?
Post by: emanuele on April 01, 2015, 03:07:37 am
I seem to remember a previous report around, but I can't find it.

I think it's a kind of balance to avoid too long pages, but... yeah, it may look nice even with the full post.
Anyway I don't use the page so I don't have preferences. :P
Title: Re: [1.0.3] recent posts all the same height?
Post by: Jorin on April 01, 2015, 03:46:57 am
Then do as I wish!  :D  ;)

An option in the admin panel to set the number of shown letters (or rows) would be really great! Or at least show some rows more then now.
Title: Re: [1.0.3] recent posts all the same height?
Post by: emanuele on April 01, 2015, 04:14:58 am
Nahhh...
It doesn't really require a setting, just add this to your custom.css:
Code: [Select]
#recentposts .inner {
  height: 7.2em;
}
and change the 7.2 to whatever you want. ;)
If you want everything use
Code: [Select]
#recentposts .inner {
  height: auto;
}
Title: Re: [1.0.3] recent posts all the same height?
Post by: Jorin on April 01, 2015, 04:18:07 am
Fine, thanks!  :)
Title: Re: [1.0.3] recent posts all the same height?
Post by: Spuds on April 01, 2015, 10:16:42 am
Yeah I thought I fixed that but it must have gotten lost in some of the updates in 1.0.3   I believe I refereed to that truncated layout as criminal :P
Title: Re: [1.0.3] recent posts all the same height?
Post by: emanuele on April 01, 2015, 12:28:24 pm
ROFL!
Title: Re: [1.0.3] recent posts all the same height?
Post by: emanuele on May 18, 2015, 10:07:14 am
@Jorin have a look at the recent here on the site, I tweaked a bit the page: instead of using "height" I used a "max-height" and added a scroll bar.

There aren't many tall topics at the moment.

So I'll try to make this one pretty long.

Maybe it will show up with the scrollbar...

And if not, I'll edit it until it does.

ETA: nope, not enough yet...

maybe another couple of lines will help.

ETA2: not enough again.

This time...

well, actually,

I could just

put single words

per line and

create a long message. :P
Title: Re: [1.0.3] recent posts all the same height?
Post by: Joshua Dickerson on May 18, 2015, 01:21:19 pm
I
still
only
see
it
with
a
normal
height.

Maybe
this
post
will
give
it
a
longer
length
and
add
the
scrollbar.

Then
again,
maybe
not.

Time
to
post
to
find
out...

Nope
that
did
not
work.

I
will
try
with
a
super
duper
long
post.

Well,
not
too
long
because
I
think
it's
not
going
to
work
and
this
is
actually
just
wasting
my
time.

Hmm
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z

Now
I
know
my
A
B
C's
next
time
won't
you
sing
with
me?
Title: Re: [1.0.3] recent posts all the same height?
Post by: emanuele on May 18, 2015, 02:18:45 pm
lol

Probably you are using BeSocial, that variant doesn't have the max-height at all, so:
http://www.elkarte.net/community/index.php?action=recent;variant=light
:P
Title: Re: [1.0.3] recent posts all the same height?
Post by: Joshua Dickerson on May 18, 2015, 05:04:38 pm
Oh, yeah. Whoops.
Title: Re: [1.0.3] recent posts all the same height?
Post by: emanuele on May 18, 2015, 05:24:37 pm
It happens. :P
I didn't thought about adding it because I'm always on light and it's normal for me. lol
Title: Re: [1.0.3] recent posts all the same height?
Post by: Spuds on May 18, 2015, 10:15:33 pm
friggin spammers! :P

I think the scroll bar looks good, for the few posts that do run extra long it seems like a good solution.
Title: Re: [1.0.3] recent posts all the same height?
Post by: Jorin on May 19, 2015, 01:14:41 am
Quote from: emanuele – @Jorin have a look at the recent here on the site, I tweaked a bit the page: instead of using "height" I used a "max-height" and added a scroll bar.

That's a way.  ;)  Better then before, but not perfect. I would like to see how it works with the full post shown.

Will it be enough to delete:

Code: [Select]
#recentposts .inner {
  height: auto;
}

?
Title: Re: [1.0.3] recent posts all the same height?
Post by: emanuele on May 19, 2015, 03:13:44 am
@Jorin use: http://www.elkarte.net/community/index.php?action=recent;variant=besocial
the besocial variant doesn't have the limit.
Title: Re: [1.0.3] recent posts all the same height?
Post by: Jorin on May 19, 2015, 03:15:59 am
Okay. I prefer this variant (full posts).