mirror of https://github.com/usememos/memos
parent
b96d78ed19
commit
cd7000da70
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Memos
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
@ -1,6 +1,4 @@
|
||||
@import "./mixin.less";
|
||||
|
||||
#root {
|
||||
.flex(row, flex-start, flex-start);
|
||||
@apply w-full h-full;
|
||||
}
|
||||
|
@ -1,15 +1,19 @@
|
||||
@import "./mixin.less";
|
||||
@import "./memos-header.less";
|
||||
|
||||
#root {
|
||||
.page-wrapper.home {
|
||||
@apply relative top-0 w-full h-screen overflow-y-auto;
|
||||
background-color: #f6f5f4;
|
||||
|
||||
> .page-container {
|
||||
@apply relative w-full min-h-screen mx-auto flex flex-row justify-center items-start;
|
||||
|
||||
>.sidebar-wrapper{
|
||||
@apply flex-shrink-0;
|
||||
}
|
||||
|
||||
#page-wrapper {
|
||||
@apply w-full h-full m-auto grid max-w-4xl mx-auto;
|
||||
grid-template-columns: min-content 1fr;
|
||||
> .memos-wrapper {
|
||||
@apply relative w-full max-w-2xl min-h-full overflow-x-hidden flex flex-col justify-start items-start px-4 sm:pr-6;
|
||||
|
||||
.memos-wrapper {
|
||||
@apply w-full h-full overflow-x-hidden flex flex-col justify-start items-start px-4 pr-10;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue