mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-08-16 08:10:59 +00:00
mobile: make menu layout
This commit is contained in:
@@ -358,8 +358,12 @@ export default {
|
|||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.menu {
|
.menu {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: calc(100% - 20px);
|
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
|
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
|
||||||
|
left: 10px;
|
||||||
|
border-radius: 20px;
|
||||||
|
border-right: none;
|
||||||
|
height: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.slide-enter-active,
|
.slide-enter-active,
|
||||||
|
|||||||
@@ -384,12 +384,16 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.topic-container {
|
.topic-container {
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 100;
|
||||||
|
background-color: var(--background-color);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 20px 0;
|
padding: 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.topic-item-container {
|
.topic-item-container {
|
||||||
|
|||||||
Reference in New Issue
Block a user