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
9036bd47
Unverified
Commit
9036bd47
authored
Nov 19, 2022
by
boojack
Committed by
GitHub
Nov 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: image scrollbar (#494)
parent
477130aa
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
12 deletions
+9
-12
tailwind.css
web/src/css/tailwind.css
+0
-0
image.less
web/src/less/image.less
+2
-5
memo-resources.less
web/src/less/memo-resources.less
+5
-5
share-memo-image-dialog.less
web/src/less/share-memo-image-dialog.less
+1
-1
main.tsx
web/src/main.tsx
+1
-1
No files found.
web/src/css/
index
.css
→
web/src/css/
tailwind
.css
View file @
9036bd47
File moved
web/src/less/image.less
View file @
9036bd47
.image-container {
width: 200px;
height: auto;
overflow-y: scroll;
cursor: pointer;
@apply hide-scrollbar;
-webkit-tap-highlight-color: transparent;
> img {
@apply
m-auto
w-full h-auto;
@apply w-full h-auto;
}
}
web/src/less/memo-resources.less
View file @
9036bd47
...
...
@@ -5,10 +5,10 @@
@apply w-full flex mt-2 pb-1;
> .memo-img {
@apply w-auto h-auto shrink-0 grow-0;
@apply w-auto h-auto shrink-0 grow-0
cursor-pointer
;
> img {
@apply rounded;
@apply rounded
hover:shadow
;
}
}
...
...
@@ -16,7 +16,7 @@
@apply flex-row justify-start items-start overflow-x-auto overflow-y-hidden;
> .memo-img {
@apply mr-2 last:mr-0;
@apply m
ax-w-xs h-auto m
r-2 last:mr-0;
> img {
@apply w-auto max-h-40;
...
...
@@ -28,10 +28,10 @@
@apply flex-col justify-start items-start;
> .memo-img {
@apply w-full h-auto
shrink-0 mb-2 last:mb-0 hide-scrollbar
;
@apply w-full h-auto
mb-2 last:mb-0
;
> img {
@apply w-full h-auto;
@apply w-full h-auto
shadow
;
}
}
}
...
...
web/src/less/share-memo-image-dialog.less
View file @
9036bd47
...
...
@@ -76,7 +76,7 @@
}
> .usage-text {
@apply -mt-1 text-sm
font-normal
text-gray-400;
@apply -mt-1 text-sm text-gray-400;
}
}
...
...
web/src/main.tsx
View file @
9036bd47
...
...
@@ -6,7 +6,7 @@ import "./i18n";
import
"./helpers/polyfill"
;
import
"highlight.js/styles/github.css"
;
import
"./less/global.less"
;
import
"./css/
index
.css"
;
import
"./css/
tailwind
.css"
;
const
container
=
document
.
getElementById
(
"root"
);
const
root
=
createRoot
(
container
as
HTMLElement
);
...
...
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