mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
chore: do not use hx for non structural headings
This commit is contained in:
parent
48f9afdedd
commit
8603774778
2 changed files with 8 additions and 3 deletions
|
@ -8,9 +8,9 @@ const TEMPLATE = `
|
||||||
<i class="icon icon-16 icon-caption icon-block"></i>
|
<i class="icon icon-16 icon-caption icon-block"></i>
|
||||||
<hgroup>
|
<hgroup>
|
||||||
<h3><span class="map-name" data-ref="name"></span></h3>
|
<h3><span class="map-name" data-ref="name"></span></h3>
|
||||||
<h5 class="dates" data-ref="dates"></h5>
|
<p class="dates" data-ref="dates"></p>
|
||||||
<h4 data-ref="author"></h4>
|
<p data-ref="author"></p>
|
||||||
<h5><i class="icon icon-16 icon-star map-star" data-ref="star"></i><span class="map-stars"></span></h5>
|
<button type="button" data-ref="star"><i class="icon icon-16 icon-star map-star"></i><span class="map-stars"></span></button>
|
||||||
</hgroup>
|
</hgroup>
|
||||||
</div>
|
</div>
|
||||||
<div class="umap-map-description text" data-ref="description"></div>
|
<div class="umap-map-description text" data-ref="description"></div>
|
||||||
|
|
|
@ -697,6 +697,11 @@ a.umap-control-caption,
|
||||||
.umap-caption .header i.icon {
|
.umap-caption .header i.icon {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
.umap-caption hgroup p,
|
||||||
|
.umap-caption hgroup button {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
.umap-browser .main-toolbox {
|
.umap-browser .main-toolbox {
|
||||||
padding-left: 4px; /* Align with toolbox below */
|
padding-left: 4px; /* Align with toolbox below */
|
||||||
border-top: 1px solid var(--color-mediumGray);
|
border-top: 1px solid var(--color-mediumGray);
|
||||||
|
|
Loading…
Reference in a new issue