Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PortalMEC-React
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
Model registry
Operate
Environments
Monitor
Incidents
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
PortalMEC
PortalMEC-React
Commits
b29dab1d
Commit
b29dab1d
authored
4 years ago
by
Lucas Eduardo Schoenfelder
Browse files
Options
Downloads
Patches
Plain Diff
changed styling on ListItem so it works on notifications menu
parent
e9a44360
No related branches found
No related tags found
4 merge requests
!57
Merge of develop into master
,
!56
Fixed buttons reportar, seguir, compartilhar, guardar and entrar (in comments...
,
!39
Update admin system
,
!32
Homologa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Components/ActivityListItem.js
+4
-4
4 additions, 4 deletions
src/Components/ActivityListItem.js
with
4 additions
and
4 deletions
src/Components/ActivityListItem.js
+
4
−
4
View file @
b29dab1d
...
@@ -115,15 +115,15 @@ export default function ActivityListItem (props) {
...
@@ -115,15 +115,15 @@ export default function ActivityListItem (props) {
},
[]
)
},
[]
)
return
(
return
(
<
StyledListItem
>
<
StyledListItem
onMenuBar
=
{
props
.
onMenuBar
}
>
{
{
!
props
.
onMenuBar
&&
!
props
.
onMenuBar
&&
<>
<>
<
ListItemAvatar
>
<
ListItemAvatar
>
<
Avatar
alt
=
'
user avatar
'
src
=
{
props
.
avatar
?
props
.
avatar
:
noAvatar
}
/
>
<
Avatar
alt
=
'
user avatar
'
src
=
{
props
.
avatar
?
props
.
avatar
:
noAvatar
}
/
>
<
/ListItemAvatar
>
<
/ListItemAvatar
>
getNotificationIcon
(
activity
.
icon
)
{
getNotificationIcon
(
activity
.
icon
)
}
<
/
>
<
/
>
}
}
...
@@ -150,7 +150,7 @@ export default function ActivityListItem (props) {
...
@@ -150,7 +150,7 @@ export default function ActivityListItem (props) {
}
}
const
StyledListItem
=
styled
(
ListItem
)
`
const
StyledListItem
=
styled
(
ListItem
)
`
padding : 20px 60px !important
;
padding :
${
props
=>
props
.
onMenuBar
?
"
8px 16px !important
"
:
"
20px 60px !important
"
}
;
border-bottom : 1px solid #eee;
border-bottom : 1px solid #eee;
display : flex;
display : flex;
justify-content : flex-start;
justify-content : flex-start;
...
...
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