details page: move permalink next to page title

This commit is contained in:
marc tobias
2018-04-06 17:44:45 +02:00
parent 4743a5e166
commit 4791fc341e
3 changed files with 10 additions and 3 deletions

View File

@@ -2,6 +2,10 @@ h1 {
margin: 10px 0;
padding-left: 8px;
}
h1 small a {
font-size: 0.5em;
white-space: nowrap;
}
h2 {
font-size: 2em;
padding-left: 8px;

View File

@@ -30,7 +30,7 @@ if ($sOsmType && $iOsmId > 0) {
if ($sClass) {
$sSQL .= " AND class='".$sClass."'";
}
$sSQL .= " ORDER BY type='postcode', class ASC";
$sSQL .= ' ORDER BY class ASC';
$sPlaceId = chksql($oDB->getOne($sSQL));
// Be nice about our error messages for broken geometry