Skip to content
Snippets Groups Projects
Commit a8574918 authored by Anika Henke's avatar Anika Henke
Browse files

added div around tables to make scrolling too wide ones in restrictive designs possible (FS#1980)

parent 1a93c67c
No related branches found
No related tags found
No related merge requests found
......@@ -906,11 +906,11 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
global $lang;
// initialize the row counter used for classes
$this->_counter['row_counter'] = 0;
$this->doc .= '<table class="inline ' . $this->startSectionEdit($pos, 'table') . '">'.DOKU_LF;
$this->doc .= '<div class="table"><table class="inline ' . $this->startSectionEdit($pos, 'table') . '">'.DOKU_LF;
}
function table_close($pos){
$this->doc .= '</table>'.DOKU_LF;
$this->doc .= '</table></div>'.DOKU_LF;
$this->finishSectionEdit($pos);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment