Compare commits

...

2 Commits

4 changed files with 36 additions and 7 deletions

View File

@ -120,8 +120,11 @@
> >
<a <a
:href="`/login?r=${encodeURIComponent(currentPath)}`" :href="`/login?r=${encodeURIComponent(currentPath)}`"
class="login button button-submit" class="login button button-submit nolink"
>Log in</a> >
<span class="login-text">Log in</span>
<Icon icon="enter" />
</a>
</div> </div>
</div> </div>
</header> </header>
@ -172,7 +175,6 @@ async function logout() {
.logo { .logo {
display: flex; display: flex;
width: 8rem; width: 8rem;
height: 3rem;
box-sizing: border-box; box-sizing: border-box;
padding: .75rem; padding: .75rem;
margin-right: 1rem; margin-right: 1rem;
@ -282,7 +284,14 @@ async function logout() {
} }
.login { .login {
text-decoration: none; display: flex;
align-items: center;
.icon {
display: none;
padding: 0;
fill: var(--text-light);
}
} }
.menu { .menu {
@ -348,5 +357,21 @@ async function logout() {
width: 0; width: 0;
flex-grow: 1; flex-grow: 1;
} }
.logo {
margin-right: .75rem;
}
.userpanel {
padding-left: 1rem;
}
.login-text {
display: none;
}
.login .icon {
display: block;
}
} }
</style> </style>

View File

@ -339,6 +339,10 @@ function updateFilter(prop, value, reload = true) {
.scenes { .scenes {
grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
} }
.scopes {
justify-content: center;
}
} }
@media(--small-20) { @media(--small-20) {

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{ {
"name": "traxxx-web", "name": "traxxx-web",
"version": "0.10.0", "version": "0.10.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"version": "0.10.0", "version": "0.10.1",
"dependencies": { "dependencies": {
"@brillout/json-serializer": "^0.5.8", "@brillout/json-serializer": "^0.5.8",
"@dicebear/collection": "^7.0.5", "@dicebear/collection": "^7.0.5",

View File

@ -70,5 +70,5 @@
"postcss-custom-media": "^10.0.2", "postcss-custom-media": "^10.0.2",
"postcss-nesting": "^12.0.2" "postcss-nesting": "^12.0.2"
}, },
"version": "0.10.0" "version": "0.10.1"
} }