Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
a1515065
Commit
a1515065
authored
9 years ago
by
Kyle Doherty
Browse files
Options
Downloads
Patches
Plain Diff
refactor homepage layout
parent
ea9fa0dc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/src/css/home.css
+0
-4
0 additions, 4 deletions
frontend/src/css/home.css
frontend/src/home/components/Homepage.jsx
+8
-8
8 additions, 8 deletions
frontend/src/home/components/Homepage.jsx
with
8 additions
and
12 deletions
frontend/src/css/home.css
+
0
−
4
View file @
a1515065
...
...
@@ -220,10 +220,6 @@
margin-right
:
346px
;
}
.HomeLayout-sidebar
{
position
:
absolute
;
top
:
0
;
bottom
:
0
;
right
:
0
;
width
:
346px
;
background-color
:
#F9FBFC
;
border-left
:
2px
solid
var
(
--border-color
);
...
...
This diff is collapsed.
Click to expand it.
frontend/src/home/components/Homepage.jsx
+
8
−
8
View file @
a1515065
...
...
@@ -43,7 +43,7 @@ export default class Homepage extends Component {
const
{
user
}
=
this
.
props
;
return
(
<
div
className
=
"
flex full-height flex-column flex-
full"
>
<
div
className
=
"full"
>
{
this
.
state
.
onboarding
?
<
Modal
>
<
NewUserOnboardingModal
user
=
{
user
}
closeFn
=
{
()
=>
(
this
.
completeOnboarding
())
}
></
NewUserOnboardingModal
>
...
...
@@ -62,15 +62,15 @@ export default class Homepage extends Component {
</
div
>
</
div
>
</
div
>
<
div
className
=
"
relative full-height flex flex-column flex-full md-pl4
"
>
<
div
className
=
"
HomeLayout
"
>
<
div
className
=
"HomeLayout-mainColumn"
>
<
div
style
=
{
{
paddingLeft
:
"
0.75rem
"
}
}
className
=
"pt4 h2 text-normal"
>
Activity
</
div
>
<
Activity
{
...
this
.
props
}
/>
<
div
className
=
"
flex
"
>
<
div
className
=
"
wrapper
"
>
<
div
className
=
"HomeLayout-mainColumn
pl2
"
>
<
div
className
=
"pt4 h2 text-normal
ml2
"
>
Activity
</
div
>
<
Activity
{
...
this
.
props
}
/>
</
div
>
</
div
>
<
div
className
=
"HomeLayout-sidebar"
>
<
RecentViews
{
...
this
.
props
}
/>
<
div
className
=
"HomeLayout-sidebar
flex-no-shrink
"
>
<
RecentViews
{
...
this
.
props
}
/>
</
div
>
</
div
>
</
div
>
...
...
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