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
Tatuya Kamada
gitlab-ce
Commits
e7e2562e
Commit
e7e2562e
authored
Feb 06, 2017
by
Jared Deckard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Position task list checkbox to match the list indent
parent
8a42045c
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 @
e7e2562e
...
...
@@ -96,16 +96,6 @@ ul.unstyled-list > li {
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
ul
.content-list
{
@include
basic-list
;
...
...
app/assets/stylesheets/framework/mixins.scss
View file @
e7e2562e
...
...
@@ -76,6 +76,13 @@
#{
$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
)
{
@-webkit-keyframes
#{
$animation-name
}
{
@content
;
...
...
app/assets/stylesheets/framework/typography.scss
View file @
e7e2562e
...
...
@@ -134,7 +134,7 @@
ul
,
ol
{
padding
:
0
;
margin
:
3px
0
3px
28px
!
important
;
margin
:
3px
0
!
important
;
}
ul
:dir
(
rtl
),
...
...
@@ -144,6 +144,29 @@
li
{
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/"
],
...
...
changelogs/unreleased/22466-task-list-alignment.yml
0 → 100644
View file @
e7e2562e
---
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