[TASK] Make list title width responsive
[Packages/TYPO3.CMS.git] / typo3 / sysext / recordlist / Classes / RecordList / DatabaseRecordList.php
index 3bb7949..578246f 100644 (file)
@@ -989,7 +989,8 @@ class DatabaseRecordList extends AbstractDatabaseRecordList
             $this->addToCSV($row);
         }
         // Add classes to table cells
-        $this->addElement_tdCssClass[$titleCol] = 'col-title' . $localizationMarkerClass;
+        $this->addElement_tdCssClass[$titleCol] = 'col-title col-responsive' . $localizationMarkerClass;
+        $this->addElement_tdCssClass['__label'] = $this->addElement_tdCssClass[$titleCol];
         $this->addElement_tdCssClass['_CONTROL_'] = 'col-control';
         if ($this->getModule()->MOD_SETTINGS['clipBoard']) {
             $this->addElement_tdCssClass['_CLIPBOARD_'] = 'col-clipboard';