Add sort direction controls to ModList

This commit is contained in:
2022-03-18 19:51:30 -04:00
parent e1c0c5b4fa
commit 0b85e30043
4 changed files with 78 additions and 4 deletions

View File

@@ -56,7 +56,13 @@
}
.sort-by {
min-width: 175px;
min-width: 119px;
}
.sort-asc {
margin-left: 8px;
min-width: 50px;
max-width: 50px;
}
.category {
@@ -71,3 +77,33 @@
.include-translations input {
margin-right: 8px;
}
.sort-direction {
display: flex;
flex-direction: row;
margin-left: 8px;
}
.sort-direction button {
width: 24px;
height: 20px;
display: block;
outline: none;
border: 0;
background-color: transparent;
cursor: pointer;
overflow: hidden;
}
.sort-direction button img {
width: 100%;
height: 100%;
}
.asc {
transform: rotate(-90deg);
}
.desc {
transform: rotate(90deg);
}