mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
split mobile styles into separated file
This commit is contained in:
parent
c90c1d0336
commit
6b8c8317f9
@ -3,6 +3,7 @@
|
||||
@import "theme/vars.less";
|
||||
@import "theme/fonts.css";
|
||||
@import "theme/fixments.less";
|
||||
@import "theme/mobile.less";
|
||||
|
||||
html {
|
||||
overflow: hidden;
|
||||
@ -295,65 +296,4 @@ html {
|
||||
.postCard {
|
||||
min-width: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
.app_layout {
|
||||
&.mobile {
|
||||
padding: 10px;
|
||||
|
||||
.loginPage {
|
||||
flex-direction: column;
|
||||
|
||||
.wallpaper {
|
||||
width: 100vw;
|
||||
}
|
||||
}
|
||||
|
||||
.postPage {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.commentsWrapper {
|
||||
position: absolute;
|
||||
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.accountProfile {
|
||||
padding: 0;
|
||||
|
||||
.contents {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
padding: 0;
|
||||
|
||||
margin-top: -4.5vh;
|
||||
|
||||
padding: 0;
|
||||
|
||||
.tabContent {
|
||||
padding: 0;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.tabMenuWrapper{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
width: 100%;
|
||||
|
||||
margin: 0;
|
||||
|
||||
.ant-menu {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
65
packages/app/src/theme/mobile.less
Normal file
65
packages/app/src/theme/mobile.less
Normal file
@ -0,0 +1,65 @@
|
||||
.app_layout {
|
||||
&.mobile {
|
||||
padding: 10px;
|
||||
|
||||
.loginPage {
|
||||
flex-direction: column;
|
||||
|
||||
.wallpaper {
|
||||
width: 100vw;
|
||||
}
|
||||
}
|
||||
|
||||
.dashboard {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.postPage {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.commentsWrapper {
|
||||
position: absolute;
|
||||
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.accountProfile {
|
||||
padding: 0;
|
||||
|
||||
.contents {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
padding: 0;
|
||||
|
||||
margin-top: -4.5vh;
|
||||
|
||||
padding: 0;
|
||||
|
||||
.tabContent {
|
||||
padding: 0;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.tabMenuWrapper{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
width: 100%;
|
||||
|
||||
margin: 0;
|
||||
|
||||
.ant-menu {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user