Skip to content

Commit 844359b

Browse files
StanFromIrelandm-aciek
authored andcommitted
Put nav in right corner
1 parent eed321c commit 844359b

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

metadata.html.jinja

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
</head>
88
<body>
99
<h1>Python Docs Translation Dashboard</h1>
10+
<div class="switchpages">
1011
<nav><p><a href="index.html" target="_self">main</a> | meta</p></nav>
12+
</div>
1113
<table>
1214
<thead>
1315
<tr>

style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ td[data-label="completion"] {
4444
width: 100%;
4545
line-height: 0;
4646
}
47+
.switchpages{
48+
position:absolute;
49+
top:10px;
50+
right: 10px;
51+
}
4752
@media screen and (max-width: 600px) {
4853
table, thead, tbody, th, td, tr {
4954
display: block;
@@ -76,4 +81,7 @@ td[data-label="completion"] {
7681
min-width: 0;
7782
width: 100% !important;
7883
}
84+
.switchpages{
85+
all: unset;
86+
}
7987
}

template.html.jinja

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
</head>
99
<body>
1010
<h1>Python Docs Translation Dashboard</h1>
11+
<div class="switchpages">
1112
<nav><p>main | <a href="metadata.html" target="_self">meta</a></p></nav>
13+
</div>
1214
<table>
1315
<thead>
1416
<tr>

0 commit comments

Comments
 (0)