Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scientia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zhige Yu
scientia
Commits
144bc608
Commit
144bc608
authored
4 years ago
by
danieldeng2
Browse files
Options
Downloads
Patches
Plain Diff
Better scaling on small screens for resources
parent
55716b79
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/src/components/pages/ModuleResources/index.tsx
+3
-3
3 additions, 3 deletions
frontend/src/components/pages/ModuleResources/index.tsx
with
3 additions
and
3 deletions
frontend/src/components/pages/ModuleResources/index.tsx
+
3
−
3
View file @
144bc608
...
@@ -28,14 +28,14 @@ const ModuleResources: React.FC = () => {
...
@@ -28,14 +28,14 @@ const ModuleResources: React.FC = () => {
</
InputGroup
.
Text
>
</
InputGroup
.
Text
>
</
InputGroup
.
Prepend
>
</
InputGroup
.
Prepend
>
<
FormControl
aria-label
=
"Search"
placeholder
=
"
s
earch"
/>
<
FormControl
aria-label
=
"Search"
placeholder
=
"
S
earch"
/>
</
InputGroup
>
</
InputGroup
>
<
h5
className
=
{
classNames
(
styles
.
moduleSectionHeader
)
}
>
Quick Access
</
h5
>
<
h5
className
=
{
classNames
(
styles
.
moduleSectionHeader
)
}
>
Quick Access
</
h5
>
<
Row
>
<
Row
>
{
[...
Array
(
4
)].
map
((
e
,
i
)
=>
(
{
[...
Array
(
4
)].
map
((
e
,
i
)
=>
(
<
Col
md
=
{
3
}
key
=
{
i
}
>
<
Col
xs
=
{
6
}
sm
=
{
6
}
md
=
{
3
}
key
=
{
i
}
>
<
Card
style
=
{
{
marginTop
:
"
1rem
"
}
}
>
<
Card
style
=
{
{
marginTop
:
"
1rem
"
}
}
>
<
Card
.
Img
variant
=
"top"
src
=
"holder.js/100px100"
/>
<
Card
.
Img
variant
=
"top"
src
=
"holder.js/100px100"
/>
<
Card
.
Body
>
<
Card
.
Body
>
...
@@ -49,7 +49,7 @@ const ModuleResources: React.FC = () => {
...
@@ -49,7 +49,7 @@ const ModuleResources: React.FC = () => {
<
h5
className
=
{
classNames
(
styles
.
moduleSectionHeader
)
}
>
Folders
</
h5
>
<
h5
className
=
{
classNames
(
styles
.
moduleSectionHeader
)
}
>
Folders
</
h5
>
<
Row
>
<
Row
>
{
[...
Array
(
10
)].
map
((
e
,
i
)
=>
(
{
[...
Array
(
10
)].
map
((
e
,
i
)
=>
(
<
Col
md
=
{
3
}
key
=
{
i
}
>
<
Col
xs
=
{
6
}
sm
=
{
6
}
md
=
{
3
}
key
=
{
i
}
>
<
Card
style
=
{
{
marginTop
:
"
.6rem
"
}
}
>
<
Card
style
=
{
{
marginTop
:
"
.6rem
"
}
}
>
<
Card
.
Body
style
=
{
{
padding
:
"
.6rem
"
}
}
>
<
Card
.
Body
style
=
{
{
padding
:
"
.6rem
"
}
}
>
<
Card
.
Text
>
Folder
{
i
}
</
Card
.
Text
>
<
Card
.
Text
>
Folder
{
i
}
</
Card
.
Text
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment