mirror of
https://github.com/anatolykopyl/vk-bingo.git
synced 2026-03-26 12:54:25 +00:00
Мобильная верстка
This commit is contained in:
@@ -5,14 +5,14 @@
|
|||||||
<div class="auth">
|
<div class="auth">
|
||||||
<p>{{ question }}</p>
|
<p>{{ question }}</p>
|
||||||
<input
|
<input
|
||||||
placeholder="Ответ"
|
|
||||||
v-model="answer"
|
v-model="answer"
|
||||||
|
placeholder="Ответ"
|
||||||
class="input"
|
class="input"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
v-if="mode === 'player'"
|
v-if="mode === 'player'"
|
||||||
placeholder="Ваше имя"
|
|
||||||
v-model="username"
|
v-model="username"
|
||||||
|
placeholder="Ваше имя"
|
||||||
class="input"
|
class="input"
|
||||||
>
|
>
|
||||||
|
|
||||||
@@ -32,8 +32,8 @@
|
|||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
@click="switchMode"
|
|
||||||
class="switchMode"
|
class="switchMode"
|
||||||
|
@click="switchMode"
|
||||||
>
|
>
|
||||||
Я не {{ mode === 'player' ? 'игрок' : 'большой экран' }}!
|
Я не {{ mode === 'player' ? 'игрок' : 'большой экран' }}!
|
||||||
</button>
|
</button>
|
||||||
@@ -160,8 +160,9 @@ async function loginScreen() {
|
|||||||
|
|
||||||
@media only screen and (max-width: 520px) {
|
@media only screen and (max-width: 520px) {
|
||||||
.authCard {
|
.authCard {
|
||||||
width: 100%;
|
width: calc(100% - 90px);
|
||||||
padding: 40px 0;
|
margin: auto;
|
||||||
|
padding: 40px 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user