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
6520bf0d
Commit
6520bf0d
authored
9 years ago
by
Tom Robinson
Browse files
Options
Downloads
Patches
Plain Diff
Switch pulse list buttons back to using 'flex align-center' to fix alignment issue
parent
ec0ea174
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/src/pulse/components/PulseListChannel.jsx
+6
-6
6 additions, 6 deletions
frontend/src/pulse/components/PulseListChannel.jsx
with
6 additions
and
6 deletions
frontend/src/pulse/components/PulseListChannel.jsx
+
6
−
6
View file @
6520bf0d
...
...
@@ -85,14 +85,14 @@ export default class PulseListChannel extends Component {
{
subscribable
&&
<
div
className
=
"flex-align-right"
>
{
subscribed
?
<
div
className
=
"
inline-block rounded clearfix
bg-green text-white text-bold"
>
<
div
className
=
"
float-left py2
pl2"
>
You get this
{
channel
.
channel_type
}
</
div
>
<
Icon
className
=
"
float-right
p2 text-grey-1 text-white-hover cursor-pointer"
name
=
"close"
width
=
{
12
}
height
=
{
12
}
onClick
=
{
this
.
unsubscribe
}
/>
<
div
className
=
"
flex align-center rounded
bg-green text-white text-bold"
>
<
div
className
=
"pl2"
>
You get this
{
channel
.
channel_type
}
</
div
>
<
Icon
className
=
"p2 text-grey-1 text-white-hover cursor-pointer"
name
=
"close"
width
=
{
12
}
height
=
{
12
}
onClick
=
{
this
.
unsubscribe
}
/>
</
div
>
:
<
div
className
=
"
inline-block clearfix
rounded bordered bg-white text-default text-bold cursor-pointer"
onClick
=
{
this
.
subscribe
}
>
<
Icon
className
=
"p2
float-left
"
name
=
"add"
width
=
{
12
}
height
=
{
12
}
/>
<
div
className
=
"p
y1 pr2 float-right
"
>
Get this
{
channel
.
channel_type
}
</
div
>
<
div
className
=
"
flex align-center
rounded bordered bg-white text-default text-bold cursor-pointer"
onClick
=
{
this
.
subscribe
}
>
<
Icon
className
=
"p2"
name
=
"add"
width
=
{
12
}
height
=
{
12
}
/>
<
div
className
=
"p
r2
"
>
Get this
{
channel
.
channel_type
}
</
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