Skip to content

Commit 5a52e94

Browse files
Put nav in right corner
1 parent e44b0ff commit 5a52e94

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
@@ -45,6 +45,11 @@ td[data-label="completion"] {
4545
width: 100%;
4646
line-height: 0;
4747
}
48+
.switchpages{
49+
position:absolute;
50+
top:10px;
51+
right: 10px;
52+
}
4853
@media screen and (max-width: 600px) {
4954
table, thead, tbody, th, td, tr {
5055
display: block;
@@ -77,4 +82,7 @@ td[data-label="completion"] {
7782
min-width: 0;
7883
width: 100% !important;
7984
}
85+
.switchpages{
86+
all: unset;
87+
}
8088
}

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)