Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d879314a
Commit
d879314a
authored
Jun 13, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix node status badge alignment in mobile layout
parent
fd86ce4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
20 deletions
+22
-20
ee/app/assets/javascripts/geo_nodes/components/geo_node_header.vue
...sets/javascripts/geo_nodes/components/geo_node_header.vue
+22
-20
No files found.
ee/app/assets/javascripts/geo_nodes/components/geo_node_header.vue
View file @
d879314a
...
...
@@ -42,7 +42,7 @@
return
this
.
isNodeHTTP
||
this
.
nodeDetailsFailed
;
},
nodeStatusIconClass
()
{
const
iconClasses
=
'
prepend-left-10
float-left
node-status-icon
'
;
const
iconClasses
=
'
prepend-left-10 node-status-icon
'
;
if
(
this
.
nodeDetailsFailed
)
{
return
`
${
iconClasses
}
status-icon-failure`
;
}
...
...
@@ -68,27 +68,29 @@
<div
class=
"card-header"
>
<div
class=
"row"
>
<div
class=
"col-md-8 clearfix"
>
<strong
class=
"node-url inline float-left"
>
{{
node
.
url
}}
</strong>
<loading-icon
v-if=
"nodeDetailsLoading || node.nodeActionActive"
class=
"node-details-loading prepend-left-10 float-left inline"
/>
<icon
v-tooltip
v-if=
"showNodeStatusIcon"
:name=
"nodeStatusIconName"
:size=
"18"
:css-classes=
"nodeStatusIconClass"
:title=
"nodeStatusIconTooltip"
data-container=
"body"
data-placement=
"bottom"
/>
<span
class=
"inline float-left prepend-left-10"
>
<span
class=
"d-flex float-left append-right-10"
>
<strong
class=
"node-url"
>
{{
node
.
url
}}
</strong>
<loading-icon
v-if=
"nodeDetailsLoading || node.nodeActionActive"
class=
"node-details-loading prepend-left-10 inline"
/>
<icon
v-tooltip
v-if=
"showNodeStatusIcon"
:name=
"nodeStatusIconName"
:size=
"18"
:css-classes=
"nodeStatusIconClass"
:title=
"nodeStatusIconTooltip"
data-container=
"body"
data-placement=
"bottom"
/>
</span>
<span
class=
"inline node-type-badges"
>
<span
v-if=
"node.current"
class=
"
prepend-left-5
node-badge current-node"
class=
"node-badge current-node"
>
{{
s__
(
'
Current node
'
)
}}
</span>
...
...
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