Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
54702db9
Unverified
Commit
54702db9
authored
Dec 22, 2022
by
ChasLui
Committed by
GitHub
Dec 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: prevent page jitter caused by the presence of scroll bars (#808)
parent
41ad0844
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
6 deletions
+11
-6
tailwind.css
web/src/css/tailwind.css
+5
-0
auth.less
web/src/less/auth.less
+1
-1
explore.less
web/src/less/explore.less
+2
-2
home.less
web/src/less/home.less
+1
-1
memo-detail.less
web/src/less/memo-detail.less
+2
-2
No files found.
web/src/css/tailwind.css
View file @
54702db9
...
...
@@ -17,6 +17,11 @@
overflow-wrap
:
anywhere
;
word-break
:
normal
;
}
@media
screen
and
(
min-width
:
1024px
)
{
.ml-calc
{
margin-left
:
calc
(
100vw
-
100%
);
}
}
}
@layer
components
{
...
...
web/src/less/auth.less
View file @
54702db9
...
...
@@ -2,7 +2,7 @@
@apply flex flex-row justify-center items-center w-full h-screen bg-zinc-100 dark:bg-zinc-800;
> .page-container {
@apply w-80 max-w-full h-full py-4 flex flex-col justify-start items-center;
@apply w-80 max-w-full h-full py-4 flex flex-col justify-start items-center
ml-calc
;
> .auth-form-wrapper {
@apply w-full py-4 grow flex flex-col justify-center items-center;
...
...
web/src/less/explore.less
View file @
54702db9
...
...
@@ -5,7 +5,7 @@
@apply relative w-full min-h-screen mx-auto flex flex-col justify-start items-center pb-8;
> .page-header {
@apply sticky top-0 z-10 max-w-2xl w-full min-h-full flex flex-row justify-between backdrop-blur-sm items-center px-4 sm:pr-6 pt-6 mb-2;
@apply sticky top-0 z-10 max-w-2xl w-full min-h-full flex flex-row justify-between backdrop-blur-sm items-center px-4 sm:pr-6 pt-6 mb-2
ml-calc
;
> .title-container {
@apply flex flex-row justify-start items-center;
...
...
@@ -27,7 +27,7 @@
}
> .memos-wrapper {
@apply relative flex-grow max-w-2xl w-full min-h-full flex flex-col justify-start items-start px-4 sm:pr-6;
@apply relative flex-grow max-w-2xl w-full min-h-full flex flex-col justify-start items-start px-4 sm:pr-6
ml-calc
;
> .memo-container {
@apply flex flex-col justify-start items-start w-full p-4 mt-2 bg-white dark:bg-zinc-700 rounded-lg border border-white dark:border-zinc-800 hover:border-gray-200 dark:hover:border-zinc-600;
...
...
web/src/less/home.less
View file @
54702db9
...
...
@@ -9,7 +9,7 @@
@apply relative w-full min-h-screen mx-auto flex flex-row justify-start sm:justify-center items-start;
> .sidebar-wrapper {
@apply flex-shrink-0;
@apply flex-shrink-0
ml-calc
;
}
> .memos-wrapper {
...
...
web/src/less/memo-detail.less
View file @
54702db9
...
...
@@ -5,7 +5,7 @@
@apply relative w-full min-h-screen mx-auto flex flex-col justify-start items-center pb-8;
> .page-header {
@apply sticky top-0 z-10 max-w-2xl w-full min-h-full flex flex-row justify-between items-center px-4 pt-6 mb-2 bg-zinc-100 dark:bg-zinc-800;
@apply sticky top-0 z-10 max-w-2xl w-full min-h-full flex flex-row justify-between items-center px-4 pt-6 mb-2 bg-zinc-100 dark:bg-zinc-800
ml-calc
;
> .title-container {
@apply flex flex-row justify-start items-center;
...
...
@@ -35,7 +35,7 @@
}
> .memos-wrapper {
@apply relative flex-grow max-w-2xl w-full min-h-full flex flex-col justify-start items-start px-4;
@apply relative flex-grow max-w-2xl w-full min-h-full flex flex-col justify-start items-start px-4
ml-calc
;
> .memo-container {
@apply flex flex-col justify-start items-start w-full p-4 mt-2 bg-white dark:bg-zinc-700 rounded-lg border border-white dark:border-zinc-800 hover:border-gray-200 dark:hover:border-zinc-700;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment