Added missing mobile optimization for edit history
authorMarcel Werk <burntime@woltlab.com>
Tue, 25 Nov 2014 22:04:00 +0000 (23:04 +0100)
committerMarcel Werk <burntime@woltlab.com>
Tue, 25 Nov 2014 22:04:00 +0000 (23:04 +0100)
com.woltlab.wcf/templates/editHistory.tpl
wcfsetup/install/files/style/layout.less
wcfsetup/install/files/style/message.less

index 157b7b9c25eeb2ac049b0a721dddafd0622741c8..e9afdccbd7bb54a07142df0233338a1fae3ced76 100644 (file)
@@ -64,7 +64,7 @@
 {/if}
 
 <form action="{link controller='EditHistory'}{/link}" method="post">
-       <div class="tabularBox tabularBoxTitle marginTop">
+       <div class="tabularBox tabularBoxTitle marginTop editHistoryVersionList">
                <header>
                        {assign var='versionCount' value=$objects|count}
                        <h2>{lang}wcf.edit.versions{/lang} <span class="badge badgeInverse">{#$versionCount+1}</span></h2>
index 36199119a96f1413811071ed381010c6ea77b136..2e09feea9e77f3101e43218f991bec1aeac318e7 100644 (file)
@@ -2296,23 +2296,6 @@ ul.inlineDataList {
        }
 }
 
-.editHistoryDiff {
-       > .sideBySide:first-child {
-               margin-bottom: @wcfGapLarge;
-               text-align: center;
-       }
-       
-       .sideBySide {
-               > div:first-child {
-                       padding-right: @wcfGapMedium;
-               }
-               
-               > div:last-child {
-                       padding-left: @wcfGapMedium;
-               }
-       }
-}
-
 /* ad locations */
 .wcfAdLocationHeaderContent,
 .wcfAdLocationFooterContent,
index 603ce711be74538e241a8eb46756ade7d5f3815c..1235da93c615d1ff4e26964aa32aa209ae74db2f 100644 (file)
@@ -1079,3 +1079,30 @@ li:nth-child(2n+1) .message {
                }
        }
 }
+
+/* edit history */
+.editHistoryDiff {
+       > .sideBySide:first-child {
+               margin-bottom: @wcfGapLarge;
+               text-align: center;
+       }
+       
+       .sideBySide {
+               > div:first-child {
+                       padding-right: @wcfGapMedium;
+               }
+               
+               > div:last-child {
+                       padding-left: @wcfGapMedium;
+               }
+       }
+}
+
+@media only screen and (max-width: 800px) {
+       .editHistoryVersionList {
+               .columnUser,
+               .columnEditReason {
+                       display: none;
+               }
+       }
+}
\ No newline at end of file