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
df24b369
Commit
df24b369
authored
Mar 14, 2019
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix UI layout on Commits on mobile
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
1715622c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
app/views/projects/commits/_commit.html.haml
app/views/projects/commits/_commit.html.haml
+3
-6
changelogs/unreleased/58933-broken-ui-on-commits-on-mobile.yml
...elogs/unreleased/58933-broken-ui-on-commits-on-mobile.yml
+5
-0
No files found.
app/views/projects/commits/_commit.html.haml
View file @
df24b369
...
@@ -20,12 +20,9 @@
...
@@ -20,12 +20,9 @@
=
link_to
commit
.
title
,
project_commit_path
(
project
,
commit
.
id
,
merge_request_iid:
merge_request
.
iid
),
class:
"commit-row-message item-title"
=
link_to
commit
.
title
,
project_commit_path
(
project
,
commit
.
id
,
merge_request_iid:
merge_request
.
iid
),
class:
"commit-row-message item-title"
-
else
-
else
=
link_to_markdown_field
(
commit
,
:title
,
link
,
class:
"commit-row-message item-title"
)
=
link_to_markdown_field
(
commit
,
:title
,
link
,
class:
"commit-row-message item-title"
)
%span
.commit-row-message.d-
block
.d-sm-none
%span
.commit-row-message.d-
inline
.d-sm-none
·
·
=
commit
.
short_id
=
commit
.
short_id
-
if
commit_status
.d-block.d-sm-none
=
render_commit_status
(
commit
,
ref:
ref
)
-
if
commit
.
description?
-
if
commit
.
description?
%button
.text-expander.js-toggle-button
%button
.text-expander.js-toggle-button
=
sprite_icon
(
'ellipsis_h'
,
size:
12
)
=
sprite_icon
(
'ellipsis_h'
,
size:
12
)
...
@@ -40,7 +37,7 @@
...
@@ -40,7 +37,7 @@
%pre
.commit-row-description.js-toggle-content.append-bottom-8
%pre
.commit-row-description.js-toggle-content.append-bottom-8
=
preserve
(
markdown_field
(
commit
,
:description
))
=
preserve
(
markdown_field
(
commit
,
:description
))
.commit-actions.flex-row
.d-none.d-sm-flex
.commit-actions.flex-row
-
if
request
.
xhr?
-
if
request
.
xhr?
=
render
partial:
'projects/commit/signature'
,
object:
commit
.
signature
=
render
partial:
'projects/commit/signature'
,
object:
commit
.
signature
-
else
-
else
...
@@ -51,7 +48,7 @@
...
@@ -51,7 +48,7 @@
.js-commit-pipeline-status
{
data:
{
endpoint:
pipelines_project_commit_path
(
project
,
commit
.
id
,
ref:
ref
)
}
}
.js-commit-pipeline-status
{
data:
{
endpoint:
pipelines_project_commit_path
(
project
,
commit
.
id
,
ref:
ref
)
}
}
.commit-sha-group
.commit-sha-group
.d-none.d-sm-flex
.label.label-monospace
.label.label-monospace
=
commit
.
short_id
=
commit
.
short_id
=
clipboard_button
(
text:
commit
.
id
,
title:
_
(
"Copy commit SHA to clipboard"
),
class:
"btn btn-default"
,
container:
"body"
)
=
clipboard_button
(
text:
commit
.
id
,
title:
_
(
"Copy commit SHA to clipboard"
),
class:
"btn btn-default"
,
container:
"body"
)
...
...
changelogs/unreleased/58933-broken-ui-on-commits-on-mobile.yml
0 → 100644
View file @
df24b369
---
title
:
Fix UI layout on Commits on mobile
merge_request
:
26133
author
:
Takuya Noguchi
type
:
fixed
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