Commit 49e2bbd9 authored by geerlingguy's avatar geerlingguy Committed by gisle
Browse files

Issue #1901746 by fietserwin, geerlingguy: Allowed more space for the up text

parent 498537ab
......@@ -714,13 +714,13 @@ function advanced_help_view_topic($module, $topic, $popup = FALSE) {
$navigation = '<div class="help-navigation clear-block">';
if ($prev) {
$navigation .= advanced_help_l('<< ' . $topics[$prev[0]][$prev[1]]['title'], "help/$prev[0]/$prev[1]", array('attributes' => array('class' => 'help-left')));
$navigation .= advanced_help_l('«« ' . $topics[$prev[0]][$prev[1]]['title'], "help/$prev[0]/$prev[1]", array('attributes' => array('class' => 'help-left')));
}
if ($up) {
$navigation .= advanced_help_l(t('Up'), $up, array('attributes' => array('class' => $prev ? 'help-up' : 'help-up-noleft')));
}
if ($next) {
$navigation .= advanced_help_l($topics[$next[0]][$next[1]]['title'] . ' >>', "help/$next[0]/$next[1]", array('attributes' => array('class' => 'help-right')));
$navigation .= advanced_help_l($topics[$next[0]][$next[1]]['title'] . ' »»', "help/$next[0]/$next[1]", array('attributes' => array('class' => 'help-right')));
}
$navigation .= '</div>';
......
......@@ -3,6 +3,7 @@
background: transparent url('help.png') no-repeat top left;
background-position: 0px 0px;
display: block;
//display: inline-block;
float: left; /* this is cheesy, I know */
height: 12px;
margin-top: 2px;
......
......@@ -38,7 +38,8 @@
display: block;
float: left; /* LTR */
margin: 0 5%;
width: 4%;
text-align: center;
width: 10%;
}
.help-up-noleft {
......
......@@ -22,6 +22,7 @@ function help_example_menu() {
* Topic index callback.
*/
function help_example_index_page() {
//$output = 'The icon: ';
$output = theme('advanced_help_topic', array(
'module' => 'help_example',
'topic' => 'about-php',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment