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
6328ec3a
Commit
6328ec3a
authored
Dec 27, 2016
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only limit container width on issues & MRs within fixed-width container
parent
f264ec6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
29 deletions
+31
-29
app/assets/stylesheets/pages/issuable.scss
app/assets/stylesheets/pages/issuable.scss
+31
-29
No files found.
app/assets/stylesheets/pages/issuable.scss
View file @
6328ec3a
// Limit MR description for side-by-side diff view
.limit-container-width
{
.detail-page-header
{
max-width
:
calc
(
#{
$limited-layout-width
}
-
(
#{
$gl-padding
}
*
2
));
margin-left
:
auto
;
margin-right
:
auto
;
}
.issuable-details
{
.detail-page-description
,
.mr-source-target
,
.mr-state-widget
,
.merge-manually
{
.container-limited
{
&
.limit-container-width
{
.detail-page-header
{
max-width
:
calc
(
#{
$limited-layout-width
}
-
(
#{
$gl-padding
}
*
2
));
margin-left
:
auto
;
margin-right
:
auto
;
}
.merge-request-tabs-holder
{
&
.affix
{
border-bottom
:
1px
solid
$border-color
;
.issuable-details
{
.detail-page-description
,
.mr-source-target
,
.mr-state-widget
,
.merge-manually
{
max-width
:
calc
(
#{
$limited-layout-width
}
-
(
#{
$gl-padding
}
*
2
));
margin-left
:
auto
;
margin-right
:
auto
;
}
.merge-request-tabs-holder
{
&
.affix
{
border-bottom
:
1px
solid
$border-color
;
.nav-links
{
border
:
0
;
}
}
.nav-links
{
border
:
0
;
.container-fluid
{
padding-left
:
0
;
padding-right
:
0
;
max-width
:
calc
(
#{
$limited-layout-width
}
-
(
#{
$gl-padding
}
*
2
));
margin-left
:
auto
;
margin-right
:
auto
;
}
}
}
.container-fluid
{
padding-left
:
0
;
padding-right
:
0
;
.diffs
{
.mr-version-controls
,
.files-changed
{
max-width
:
calc
(
#{
$limited-layout-width
}
-
(
#{
$gl-padding
}
*
2
));
margin-left
:
auto
;
margin-right
:
auto
;
}
}
}
.diffs
{
.mr-version-controls
,
.files-changed
{
max-width
:
calc
(
#{
$limited-layout-width
}
-
(
#{
$gl-padding
}
*
2
));
margin-left
:
auto
;
margin-right
:
auto
;
}
}
}
.issuable-details
{
...
...
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