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
Boxiang Sun
gitlab-ce
Commits
eb10bcaa
Commit
eb10bcaa
authored
Jun 15, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove small container width
parent
59a2123d
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
10 deletions
+10
-10
app/assets/stylesheets/framework/layout.scss
app/assets/stylesheets/framework/layout.scss
+0
-4
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+0
-1
app/views/projects/empty.html.haml
app/views/projects/empty.html.haml
+2
-2
app/views/projects/wikis/edit.html.haml
app/views/projects/wikis/edit.html.haml
+1
-1
app/views/projects/wikis/git_access.html.haml
app/views/projects/wikis/git_access.html.haml
+1
-1
app/views/projects/wikis/show.html.haml
app/views/projects/wikis/show.html.haml
+1
-1
changelogs/unreleased/remove-small-container-width.yml
changelogs/unreleased/remove-small-container-width.yml
+5
-0
No files found.
app/assets/stylesheets/framework/layout.scss
View file @
eb10bcaa
...
@@ -54,10 +54,6 @@ body {
...
@@ -54,10 +54,6 @@ body {
&
.limit-container-width
{
&
.limit-container-width
{
max-width
:
$limited-layout-width
;
max-width
:
$limited-layout-width
;
}
}
&
.limit-container-width-sm
{
max-width
:
$limited-layout-width-sm
;
}
}
}
.alert-wrapper
{
.alert-wrapper
{
...
...
app/assets/stylesheets/framework/variables.scss
View file @
eb10bcaa
...
@@ -265,7 +265,6 @@ $header-height: 40px;
...
@@ -265,7 +265,6 @@ $header-height: 40px;
$ide-statusbar-height
:
25px
;
$ide-statusbar-height
:
25px
;
$fixed-layout-width
:
1280px
;
$fixed-layout-width
:
1280px
;
$limited-layout-width
:
990px
;
$limited-layout-width
:
990px
;
$limited-layout-width-sm
:
790px
;
$container-text-max-width
:
540px
;
$container-text-max-width
:
540px
;
$gl-avatar-size
:
40px
;
$gl-avatar-size
:
40px
;
$error-exclamation-point
:
$red-500
;
$error-exclamation-point
:
$red-500
;
...
...
app/views/projects/empty.html.haml
View file @
eb10bcaa
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
=
render
"home_panel"
=
render
"home_panel"
.project-empty-note-panel
.project-empty-note-panel
%div
{
class:
[
container_class
,
(
"limit-container-width
-sm
"
unless
fluid_layout
)]
}
%div
{
class:
[
container_class
,
(
"limit-container-width"
unless
fluid_layout
)]
}
.prepend-top-20
.prepend-top-20
%h4
%h4
=
_
(
'The repository for this project is empty'
)
=
_
(
'The repository for this project is empty'
)
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
=
render
'stat_anchor_list'
,
anchors:
@project
.
empty_repo_statistics_buttons
=
render
'stat_anchor_list'
,
anchors:
@project
.
empty_repo_statistics_buttons
-
if
can?
(
current_user
,
:push_code
,
@project
)
-
if
can?
(
current_user
,
:push_code
,
@project
)
%div
{
class:
[
container_class
,
(
"limit-container-width
-sm
"
unless
fluid_layout
)]
}
%div
{
class:
[
container_class
,
(
"limit-container-width"
unless
fluid_layout
)]
}
.prepend-top-20
.prepend-top-20
.empty_wrapper
.empty_wrapper
%h3
#repo-command-line-instructions
.page-title-empty
%h3
#repo-command-line-instructions
.page-title-empty
...
...
app/views/projects/wikis/edit.html.haml
View file @
eb10bcaa
-
@content_class
=
"limit-container-width
limit-container-width-sm
"
unless
fluid_layout
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
page_title
_
(
"Edit"
),
@page
.
title
.
capitalize
,
_
(
"Wiki"
)
-
page_title
_
(
"Edit"
),
@page
.
title
.
capitalize
,
_
(
"Wiki"
)
=
wiki_page_errors
(
@error
)
=
wiki_page_errors
(
@error
)
...
...
app/views/projects/wikis/git_access.html.haml
View file @
eb10bcaa
-
@content_class
=
"limit-container-width
limit-container-width-sm
"
unless
fluid_layout
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
page_title
s_
(
"WikiClone|Git Access"
),
_
(
"Wiki"
)
-
page_title
s_
(
"WikiClone|Git Access"
),
_
(
"Wiki"
)
.wiki-page-header.has-sidebar-toggle
.wiki-page-header.has-sidebar-toggle
...
...
app/views/projects/wikis/show.html.haml
View file @
eb10bcaa
-
@content_class
=
"limit-container-width
limit-container-width-sm
"
unless
fluid_layout
-
@content_class
=
"limit-container-width"
unless
fluid_layout
-
breadcrumb_title
@page
.
title
.
capitalize
-
breadcrumb_title
@page
.
title
.
capitalize
-
wiki_breadcrumb_dropdown_links
(
@page
.
slug
)
-
wiki_breadcrumb_dropdown_links
(
@page
.
slug
)
-
page_title
@page
.
title
.
capitalize
,
_
(
"Wiki"
)
-
page_title
@page
.
title
.
capitalize
,
_
(
"Wiki"
)
...
...
changelogs/unreleased/remove-small-container-width.yml
0 → 100644
View file @
eb10bcaa
---
title
:
Remove small container width
merge_request
:
19893
author
:
George Tsiolis
type
:
changed
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