Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
vicotor
frontend
Commits
3dbee58b
Commit
3dbee58b
authored
Sep 16, 2022
by
Yuri Mikhin
Committed by
Yuri Mikhin
Sep 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix responsive inf AppList.
parent
ec18fc41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
AppCard.tsx
ui/apps/AppCard.tsx
+6
-5
AppList.tsx
ui/apps/AppList.tsx
+4
-3
No files found.
ui/apps/AppCard.tsx
View file @
3dbee58b
...
...
@@ -8,15 +8,16 @@ const AppCard = ({ title, logo, shortDescription, categories }: AppItemPreview)
return
(
<
Box
borderRadius=
{
{
base
:
'
none
'
,
sm
:
'
md
'
}
}
height=
"100%"
padding=
{
{
base
:
'
16px
'
,
md
:
'
20px
'
}
}
padding=
{
{
base
:
'
16px
'
,
sm
:
'
20px
'
}
}
boxShadow=
{
`0 0 0 1px ${ useColorModeValue('var(--chakra-colors-gray-200)', 'var(--chakra-colors-gray-600)') }`
}
>
<
Box
overflow=
"hidden"
height=
"100%"
>
<
Box
marginBottom=
{
4
}
w=
{
{
base
:
'
64px
'
,
lg
:
'
96px
'
}
}
h=
{
{
base
:
'
64px
'
,
lg
:
'
96px
'
}
}
w=
{
{
base
:
'
64px
'
,
sm
:
'
96px
'
}
}
h=
{
{
base
:
'
64px
'
,
sm
:
'
96px
'
}
}
>
<
Image
src=
{
logo
}
...
...
@@ -27,7 +28,7 @@ const AppCard = ({ title, logo, shortDescription, categories }: AppItemPreview)
<
Text
as=
"h3"
marginBottom=
{
2
}
fontSize=
{
{
base
:
'
sm
'
,
lg
:
'
lg
'
}
}
fontSize=
{
{
base
:
'
sm
'
,
sm
:
'
sm
'
}
}
fontWeight=
"semibold"
>
{
title
}
...
...
@@ -42,7 +43,7 @@ const AppCard = ({ title, logo, shortDescription, categories }: AppItemPreview)
</
Text
>
<
Text
fontSize=
{
{
base
:
'
xs
'
,
lg
:
'
sm
'
}
}
fontSize=
{
{
base
:
'
xs
'
,
sm
:
'
sm
'
}
}
lineHeight=
"20px"
style=
{
{
display
:
'
-webkit-box
'
,
...
...
ui/apps/AppList.tsx
View file @
3dbee58b
...
...
@@ -19,11 +19,12 @@ const AppList = ({ apps }: Props) => {
{
apps
.
length
>
0
?
(
<
Grid
templateColumns=
{
{
base
:
'
repeat(auto-fill, minmax(140px, 1fr))
'
,
base
:
'
repeat(auto-fill, minmax(160px, 1fr))
'
,
sm
:
'
repeat(auto-fill, minmax(200px, 1fr))
'
,
lg
:
'
repeat(auto-fill, minmax(260px, 1fr))
'
,
}
}
autoRows=
"1fr"
gap=
{
{
base
:
'
1px
'
,
lg
:
'
24px
'
}
}
gap=
{
{
base
:
'
1px
'
,
sm
:
'
24px
'
}
}
>
{
apps
.
map
((
app
)
=>
(
<
GridItem
...
...
@@ -54,7 +55,7 @@ const AppList = ({ apps }: Props) => {
<
Text
as=
"h3"
marginBottom=
{
2
}
fontSize=
{
{
base
:
'
2xl
'
,
lg
:
'
3xl
'
}
}
fontSize=
{
{
base
:
'
2xl
'
,
sm
:
'
3xl
'
}
}
fontWeight=
"semibold"
>
No results
...
...
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