Skip to content

Commit 97547f2

Browse files
committed
Aesthetic patch.
The colons for the configuration directive labels at the configuration page didn't quite match the height alignment of the labels themselves; Fixed.
1 parent 7b2867a commit 97547f2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

assets/default/_config_row.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<tr>
22
<td class="ng1"><style>#{DirLangKey}:target{animation:idxAn 4s ease 0s 1 normal}</style>
3-
<code id="{DirLangKey}" class="cat">{DirName}:</code><br />{DirLang}<br /><br />
3+
<code id="{DirLangKey}" class="cat">{DirName}</code><br />{DirLang}<br /><br />
44
{FieldOut}
55
</td>
66
</tr>

src/FrontEnd.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GNU/GPLv2
99
* @see LICENSE.txt
1010
*
11-
* This file: Front-end handler (last modified: 2023.04.03).
11+
* This file: Front-end handler (last modified: 2023.05.21).
1212
*/
1313

1414
namespace phpMussel\FrontEnd;
@@ -1006,7 +1006,7 @@ public function view(string $Page = ''): void
10061006
}
10071007
$ThisDir['DirLangKey'] = 'config_' . $CatKey . '_' . $DirKey;
10081008
$ThisDir['DirLangKeyOther'] = $ThisDir['DirLangKey'] . '_other';
1009-
$ThisDir['DirName'] = '<span class="normalHeight">' . $this->ltrInRtf($CatKey . '' . $DirKey) . '</span>';
1009+
$ThisDir['DirName'] = '<span class="normalHeight">' . $this->ltrInRtf($CatKey . '' . $DirKey) . ':</span>';
10101010
$ThisDir['Friendly'] = $this->Loader->L10N->getString($ThisDir['DirLangKey'] . '_label') ?: $DirKey;
10111011
$CatData .= sprintf(
10121012
'<li><a onclick="javascript:toggleconfigNav(\'%1$sRow\',\'%1$sShowLink\')" href="#%2$s">%3$s</a></li>',

0 commit comments

Comments
 (0)