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
0
Merge Requests
0
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
Léo-Paul Géneau
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 MR description for side-by-side diff view
.limit-container-width
{
.container-limited
{
.detail-page-header
{
&
.limit-container-width
{
max-width
:
calc
(
#{
$limited-layout-width
}
-
(
#{
$gl-padding
}
*
2
));
.detail-page-header
{
margin-left
:
auto
;
margin-right
:
auto
;
}
.issuable-details
{
.detail-page-description
,
.mr-source-target
,
.mr-state-widget
,
.merge-manually
{
max-width
:
calc
(
#{
$limited-layout-width
}
-
(
#{
$gl-padding
}
*
2
));
max-width
:
calc
(
#{
$limited-layout-width
}
-
(
#{
$gl-padding
}
*
2
));
margin-left
:
auto
;
margin-left
:
auto
;
margin-right
:
auto
;
margin-right
:
auto
;
}
}
.merge-request-tabs-holder
{
.issuable-details
{
&
.affix
{
.detail-page-description
,
border-bottom
:
1px
solid
$border-color
;
.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
{
.container-fluid
{
border
:
0
;
padding-left
:
0
;
padding-right
:
0
;
max-width
:
calc
(
#{
$limited-layout-width
}
-
(
#{
$gl-padding
}
*
2
));
margin-left
:
auto
;
margin-right
:
auto
;
}
}
}
}
}
.container-fluid
{
.diffs
{
padding-left
:
0
;
.mr-version-controls
,
padding-right
:
0
;
.files-changed
{
max-width
:
calc
(
#{
$limited-layout-width
}
-
(
#{
$gl-padding
}
*
2
));
max-width
:
calc
(
#{
$limited-layout-width
}
-
(
#{
$gl-padding
}
*
2
));
margin-left
:
auto
;
margin-left
:
auto
;
margin-right
:
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
{
.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