fix: mobile layout
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
8faf2ab893
commit
4abe1363ec
|
@ -50,6 +50,10 @@ const motd = computed(() => store.state.config.motd)
|
|||
border-radius: $radius;
|
||||
box-shadow: var(--shadow-md);
|
||||
overflow: hidden;
|
||||
|
||||
@media screen and (max-width: $desktop) {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.image {
|
||||
|
@ -57,6 +61,14 @@ const motd = computed(() => store.state.config.motd)
|
|||
background: url('@/assets/no-auth-image.jpg') no-repeat bottom;
|
||||
background-size: cover;
|
||||
position: relative;
|
||||
|
||||
@media screen and (max-width: $desktop) {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: $tablet) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.overlay {
|
||||
|
@ -82,12 +94,16 @@ const motd = computed(() => store.state.config.motd)
|
|||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-direction: column;
|
||||
|
||||
@media screen and (max-width: $desktop) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.logo {
|
||||
color: var(--logo-text-color);
|
||||
max-width: 100%;
|
||||
margin-bottom: 1rem;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
.message {
|
||||
|
|
Reference in New Issue