fixed bug with clicked on btn in gamemode section

This commit is contained in:
Kostya
2023-11-15 23:04:59 +03:00
parent a3449ee427
commit d088efda56
3 changed files with 10 additions and 6 deletions

View File

@@ -27,6 +27,7 @@ export default {
left: 0; left: 0;
user-select: none; user-select: none;
overflow: hidden; overflow: hidden;
z-index: 1000;
} }
.bar__content { .bar__content {
padding-top: 26px; padding-top: 26px;

View File

@@ -46,7 +46,7 @@ export default {
position: fixed; position: fixed;
top: 0; top: 0;
width: 100%; width: 100%;
z-index: 1; z-index: 2;
overflow: hidden; overflow: hidden;
} }
.header::before { .header::before {

View File

@@ -21,7 +21,7 @@
</div> </div>
</div> </div>
<section class="gamemode"> <div class="gamemode">
<div class="gamemode__content--text"> <div class="gamemode__content--text">
<h2>Режимы игры</h2> <h2>Режимы игры</h2>
</div> </div>
@@ -90,7 +90,7 @@
</ul> </ul>
</div> </div>
</div> </div>
</section> </div>
</section> </section>
</template> </template>
@@ -129,7 +129,7 @@ export default {
width: 100%; width: 100%;
position: relative; position: relative;
top: 0; top: 0;
z-index: -1; z-index: 1;
overflow: hidden; overflow: hidden;
} }
.home::before { .home::before {
@@ -157,7 +157,7 @@ export default {
z-index: -1; z-index: -1;
} }
.home__content { .home__content {
margin-top: 70px; margin-top: 62px;
} }
.home__banner { .home__banner {
user-select: none; user-select: none;
@@ -206,6 +206,10 @@ export default {
bottom: 83%; bottom: 83%;
} }
.gamemode {
position: relative;
z-index: 1;
}
.gamemode__content--text { .gamemode__content--text {
display: flex; display: flex;
margin: 2% 0 0 14.5%; margin: 2% 0 0 14.5%;
@@ -291,7 +295,6 @@ export default {
box-shadow: 0px 4px 40px 1px #FFB400; box-shadow: 0px 4px 40px 1px #FFB400;
text-transform: uppercase; text-transform: uppercase;
text-decoration: none; text-decoration: none;
cursor: pointer;
} }
.line__header { .line__header {