inherit
227583
0
Sept 11, 2020 11:05:28 GMT -8
Symphony 🎻
12
December 2015
xamichan
|
Post by Symphony 🎻 on Sept 7, 2020 1:39:26 GMT -8
Hello! So I'm having this issue and it's a curious one. I'm not quite sure what we call it but I'm going to attempt to show the issue through pictures. so this is the first page of one of my forum threads but as more and more posts are added the bar starts to slide down the post. It eventually ends up like this: I thought it had something to do with the mini but I'm not sure? Any help would be appreciated! Edit: it doesn't happen on ALL threads only some and it isn't a case of there being too many blockquotes.
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Sept 7, 2020 4:57:28 GMT -8
Hi Symphony 🎻A link to your forum with a publicly viewable thread which has the problem, would be useful, so people can see what is going on.
|
|
inherit
227583
0
Sept 11, 2020 11:05:28 GMT -8
Symphony 🎻
12
December 2015
xamichan
|
Post by Symphony 🎻 on Sept 7, 2020 6:27:14 GMT -8
Hi Symphony 🎻 A link to your forum with a publicly viewable thread which has the problem, would be useful, so people can see what is going on. Ah, yeah that would help wouldn't it? xD HERE AND HERE
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Sept 7, 2020 21:42:06 GMT -8
After taking a look at the forum and having a peek at the source code, (via the right click menu), it appearts you have a couple of coding errors, (I think) in the mini-profile code. Could you post it here in Spoiler tags for me to take a look at.
|
|
inherit
227583
0
Sept 11, 2020 11:05:28 GMT -8
Symphony 🎻
12
December 2015
xamichan
|
Post by Symphony 🎻 on Sept 8, 2020 4:31:47 GMT -8
After taking a look at the forum and having a peek at the source code, (via the right click menu), it appearts you have a couple of coding errors, (I think) in the mini-profile code. Could you post it here in Spoiler tags for me to take a look at. here you go and thank you!
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Sept 8, 2020 4:54:26 GMT -8
I had a look at the code and you were missing a closing </span> and </div> tag, which I have added in. When your coding, always take a look towards the bottom of the code and make sure you don't have anything that is bright red, if you do, it means you have a coding error further up. See if this fixes the problem. <div class="$[miniprofile_class]"> $[user]<br /> {if $[user.is_guest]}PASSERBY<br />{/if} {if $[user.is_deleted]}<em>A LOST SOUL</em><br />{/if} {if $[user.group]} $[user.group.name]<br /> {elseif $[user.rank]} $[user.rank.name]<br /> {if $[user.rank.stars]} $[user.rank.stars]<br /> {/if} {/if} {if $[user.custom_title]}$[user.custom_title]<br />{/if} $[user.warning.bar]<br /> {if $[user.avatar]} <div class="avatar">$[user.avatar]</div><br /> {/if} <div class="infostatus"> <div class="memberstatus online"> {if $[user.is_online]}ONLINE{else}OFFLINE{/if} </div> </div> {if $[user.is_member]}<br /> <div class="info"> <span class="$[user.mini_custom_field.content_class]">POSTS: $[user.posts]</span> {foreach $[user.mini_custom_field]} {if $[user.mini_custom_field.name] == "APPLICATION"}<br /> <span class="$[user.mini_custom_field.content_class]"> $[user.mini_custom_field.name]: <a href="$[user.mini_custom_field.value]"></a></span> {elseif $[user.mini_custom_field.name] == "PLOTTER"}<br /> <span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name]: <a href="$[user.mini_custom_field.value]"></a></span> {elseif $[user.mini_custom_field.name] == "TRACKER"}<br /> <span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name]: <a href="$[user.mini_custom_field.value]"></a></span> {elseif $[user.mini_custom_field.name] == "THEME"}<br /> <span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name]: <a href="$[user.mini_custom_field.value]"></a></span> {else}<br /> <span class="$[user.mini_custom_field.content_class]">$[user.mini_custom_field.name]: $[user.mini_custom_field.value]</span> {/if} {/foreach} </div> {if $[user.badges_miniprofile]} <div class="$[user.badges_miniprofile_container_class]"> {foreach $[user.badges_miniprofile]} $[user.badges_miniprofile.icon] {/foreach} </div> {/if} </div>
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Sept 9, 2020 19:20:19 GMT -8
If that doesn't help then the following might be relevant...
|
|
inherit
252032
0
Apr 26, 2024 23:51:41 GMT -8
Retread
Tribbial Pursuit.
5,017
January 2018
retread
|
Post by Retread on Sept 10, 2020 10:06:26 GMT -8
If that doesn't help then the following might be relevant... Brill. I've been following this thread in an effort to understand the problem. It was apparent that posts with enough content (and were at least as tall as the mini-profile) didn't exhibit a problem. But shorter posts had the content vertically centered. If I understand this correctly, the mini-profile/left-panel is in a table cell in the same row as the cell that holds the content (including the info, controls, and message). Whichever cell takes up more vertical space will define the height of the cells in that row. When each cell has the vertical-align defined as top, all is well. But since the default alignment of a table cell is middle, if either of the cells is missing that definition, it will vertically align to the (vertical) middle of the cell. Does that sound correct, or do I have it wrong?
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Sept 10, 2020 20:42:41 GMT -8
Brill. I've been following this thread in an effort to understand the problem. It was apparent that posts with enough content (and were at least as tall as the mini-profile) didn't exhibit a problem. But shorter posts had the content vertically centered. If I understand this correctly, the mini-profile/left-panel is in a table cell in the same row as the cell that holds the content (including the info, controls, and message). Whichever cell takes up more vertical space will define the height of the cells in that row. When each cell has the vertical-align defined as top, all is well. But since the default alignment of a table cell is middle, if either of the cells is missing that definition, it will vertically align to the (vertical) middle of the cell. Does that sound correct, or do I have it wrong? When the contents of the miniprofile cell is the taller of the two then the right cell which no longer has an explicit vertical-align declaration defaults to vertical-align:inherit via the browser's default user-agent rules (at least in chrome) and since Proboards has actively set this to middle on a parent cell then we inherit middle (note: default is baseline, I recall at some point middle being the user-agent stylesheet default but that has obviously changed). https://storage.proboards.com/forum_id/css/file_id.css:table.list>thead>tr>th,table.list>tbody>tr>td { border-width: 0px 1px 1px 0px; border-style: solid; border-color: #d7d7d7; vertical-align: middle; padding: 10px; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; }
|
|
inherit
227583
0
Sept 11, 2020 11:05:28 GMT -8
Symphony 🎻
12
December 2015
xamichan
|
Post by Symphony 🎻 on Sept 11, 2020 5:06:37 GMT -8
I attempted the first fix but then I followed the above posts and restored the .posts .post .content { padding-left: 10px; vertical-align: top; } to my style sheet and that seems to have fixed the problem.
It is now
.posts .post table { width: 100%; } .posts .post .left-panel { width: 210px; vertical-align: top; } .posts .post .content { padding-left: 10px; vertical-align: top; }
Thank you for all the help with it. I must've accidentally deleted the line from the style sheet when putting in the mini.
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Sept 11, 2020 20:41:00 GMT -8
Symphony 🎻 with what I posted, all you have to do is delete the original and paste in what I have here and that will fix the coding errors you have in the mini profile.
|
|