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
e7a64ec3
Commit
e7a64ec3
authored
Feb 22, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '22466-task-list-alignment' into 'master'
Align Task List Checkboxes Closes #22466 See merge request !6487
parents
1d667e03
e7e2562e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
11 deletions
+35
-11
app/assets/stylesheets/framework/lists.scss
app/assets/stylesheets/framework/lists.scss
+0
-10
app/assets/stylesheets/framework/mixins.scss
app/assets/stylesheets/framework/mixins.scss
+7
-0
app/assets/stylesheets/framework/typography.scss
app/assets/stylesheets/framework/typography.scss
+24
-1
changelogs/unreleased/22466-task-list-alignment.yml
changelogs/unreleased/22466-task-list-alignment.yml
+4
-0
No files found.
app/assets/stylesheets/framework/lists.scss
View file @
e7a64ec3
...
@@ -96,16 +96,6 @@ ul.unstyled-list > li {
...
@@ -96,16 +96,6 @@ ul.unstyled-list > li {
border-bottom
:
none
;
border-bottom
:
none
;
}
}
ul
.task-list
{
li
.task-list-item
{
list-style-type
:
none
;
}
ul
:not
(
.task-list
)
{
padding-left
:
1
.3em
;
}
}
// Generic content list
// Generic content list
ul
.content-list
{
ul
.content-list
{
@include
basic-list
;
@include
basic-list
;
...
...
app/assets/stylesheets/framework/mixins.scss
View file @
e7a64ec3
...
@@ -76,6 +76,13 @@
...
@@ -76,6 +76,13 @@
#{
$property
}
:
$
value
;
#{
$property
}
:
$
value
;
}
}
/* http://phrappe.com/css/conditional-css-for-webkit-based-browsers/ */
@mixin
on-webkit-only
{
@media
screen
and
(
-
webkit-min-device-pixel-ratio
:
0
)
{
@content
;
}
}
@mixin
keyframes
(
$animation-name
)
{
@mixin
keyframes
(
$animation-name
)
{
@-webkit-keyframes
#{
$animation-name
}
{
@-webkit-keyframes
#{
$animation-name
}
{
@content
;
@content
;
...
...
app/assets/stylesheets/framework/typography.scss
View file @
e7a64ec3
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
ul
,
ul
,
ol
{
ol
{
padding
:
0
;
padding
:
0
;
margin
:
3px
0
3px
28px
!
important
;
margin
:
3px
0
!
important
;
}
}
ul
:dir
(
rtl
),
ul
:dir
(
rtl
),
...
@@ -144,6 +144,29 @@
...
@@ -144,6 +144,29 @@
li
{
li
{
line-height
:
1
.6em
;
line-height
:
1
.6em
;
margin-left
:
25px
;
padding-left
:
3px
;
/* Normalize the bullet position on webkit. */
@include
on-webkit-only
{
margin-left
:
28px
;
padding-left
:
0
;
}
}
ul
.task-list
{
li
.task-list-item
{
list-style-type
:
none
;
position
:
relative
;
padding-left
:
28px
;
margin-left
:
0
!
important
;
input
.task-list-item-checkbox
{
position
:
absolute
;
left
:
8px
;
top
:
5px
;
}
}
}
}
a
[
href
*=
"/uploads/"
],
a
[
href
*=
"/uploads/"
],
...
...
changelogs/unreleased/22466-task-list-alignment.yml
0 → 100644
View file @
e7a64ec3
---
title
:
Align task list checkboxes
merge_request
:
6487
author
:
Jared Deckard <jared.deckard@gmail.com>
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