Skip to content

Commit

Permalink
add edition page label to bottom nav
Browse files Browse the repository at this point in the history
  • Loading branch information
ongtiffany committed May 17, 2024
1 parent 9b70c8e commit 29cbe22
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions frontend/assets/css/text-viewer2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,32 @@ section {
.pagination {
display: inline;
}
label{
position: absolute;
top: 0px;
z-index: 9;
font-size: 10px;
padding-left: 18px;
text-transform: uppercase;
color: gray;
}
.select-dropdown{
padding: 7px 8px 5px 8px;
i{
top: 24px;
}
&:hover{
i{
top: 31px;
}
}
}
} //.bottom
div {
text-align: center;
margin: 0;
cursor: pointer;

&.icons {
display: flex;
margin-left: auto;
Expand Down
2 changes: 1 addition & 1 deletion frontend/edition/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ eleventyNavigation:
</div>
<nav class="panel-nav bottom">
<div>
<panel-control :panel-idx="panelIdx" control-key="locus"></panel-control>
<label>Edition page:</label><panel-control :panel-idx="panelIdx" control-key="locus"></panel-control>
</div>
<div>
<button class="pagination" href="#" @click.stop.prevent="incrementLocus(panel, -1)"
Expand Down

0 comments on commit 29cbe22

Please sign in to comment.