Improve size/pos of admin buttons.

This commit is contained in:
Rasmus Kaj 2019-05-29 18:14:08 +02:00
parent b68628b12c
commit 51fd4279f5
2 changed files with 13 additions and 0 deletions

View File

@ -309,6 +309,7 @@
var meta = details.querySelector('.meta');
if (meta) {
p = d.createElement("p");
p.className = 'admbuttons';
r = d.createElement("button");
r.onclick = rotate;
r.innerHTML = "\u27f2";

View File

@ -190,6 +190,18 @@ ul.alltags, ul.allpeople, ul.allplaces {
max-height: 60vh;
}
p.admbuttons {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
margin: 1ex -.1em 0;
button {
flex-grow: .1;
margin: .1em;
padding: 0;
}
}
form {
border: $border;
margin: auto;