Fix for anchors headbutting the fixed header
authorAlexander Ebert <ebert@woltlab.com>
Thu, 18 Aug 2016 22:07:02 +0000 (00:07 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 18 Aug 2016 22:07:02 +0000 (00:07 +0200)
templates/conversationMessageList.tpl

index 5c0dc9b49d8e7d96d02450d0423fef7c3cd91f3d..2e913d258a1993a0f761b61db12c801c7e64ef39 100644 (file)
@@ -6,7 +6,7 @@
        {assign var='objectID' value=$message->messageID}
        {assign var='userProfile' value=$message->getUserProfile()}
        
-       <li id="message{@$message->messageID}"{if $conversation->userID == $message->userID} class="messageGroupStarter"{/if}>
+       <li id="message{@$message->messageID}" class="anchorFixedHeader{if $conversation->userID == $message->userID} messageGroupStarter{/if}">
                <article class="message messageSidebarOrientation{@$__wcf->getStyleHandler()->getStyle()->getVariable('messageSidebarOrientation')|ucfirst} jsMessage{if $userProfile->userOnlineGroupID} userOnlineGroupMarking{@$userProfile->userOnlineGroupID}{/if}" data-can-edit="{if $message->canEdit()}1{else}0{/if}" data-object-id="{@$message->messageID}">
                        {include file='messageSidebar'}