From ea3dbb75ba1ce424d7fe24e34ca52261c787ea4b Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Tue, 19 Jul 2016 16:30:34 +0000 Subject: [PATCH] wip #566 @0.5 --- framework/application/views/scripts/templates/texte.phtml | 2 +- less/240-text.less | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/framework/application/views/scripts/templates/texte.phtml b/framework/application/views/scripts/templates/texte.phtml index 75c6de1..444dccd 100644 --- a/framework/application/views/scripts/templates/texte.phtml +++ b/framework/application/views/scripts/templates/texte.phtml @@ -1,7 +1,7 @@ headScript()->addScriptAndStyle('240-text'); $res = $this->htmlElement('', 'div', array('class' => 'no-intro')); -$c = $this->htmlElement($this->title($this->title), 'div', array('class' => 'col-2')); +$c = $this->htmlElement($this->title($this->title), 'div', array('class' => 'col-6')); $c .= $this->htmlElement($this->markupDotclear($this->content), 'div', array('class' => 'col-6')); $res .= $this->htmlElement($c, 'div', array('class' => array('content-wrapper', 'grid', 'wrap'))); echo $res; \ No newline at end of file diff --git a/less/240-text.less b/less/240-text.less index 4fc837f..8dc9ba6 100644 --- a/less/240-text.less +++ b/less/240-text.less @@ -11,4 +11,9 @@ h2 { @media @m900 { font-size: 20px; } +} + +.content-wrapper{ + max-width: 800px; + margin:0 auto; } \ No newline at end of file -- 2.39.5