Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Web Team
Drupal
Public Drupal Repositories
Drupal 8
D8 Themes
cern
Commits
9321fca8
Commit
9321fca8
authored
May 19, 2020
by
Konstantinos Platis
Browse files
Fixed nested elements in lists not appearing inline with list marker
parent
0263cfb2
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
9321fca8
...
...
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
-
Fixed mini pager rendering First and Last items
-
Added delay on unhover of menu items to fix submenus hiding even when hiding by mistake
-
Fixed Preview Card subtext not inheriting correct colors due to different wrapper tags
-
Fixed nested elements in lists not appearing inline with list marker
## [2.6.3] - 10/03/2020
...
...
css/fields.css
View file @
9321fca8
.field
ul
li
*
:not
(
li
)
:not
(
ul
)
{
display
:
inline
;
}
.field
ol
li
:before
{
display
:
none
;
}
.field.field--type-entity-reference
a
{
padding
:
3px
8px
0px
;
font-weight
:
normal
;
...
...
sass/fields.scss
View file @
9321fca8
// tags
.field
{
ul
{
li
{
// display inline all elements in a list apart from other lists
*
{
&
:not
(
li
)
:not
(
ul
)
{
display
:
inline
;
}
}
}
}
ol
{
li
{
// remove dots from ordered lists
&
:before
{
display
:
none
;
}
}
}
// tags
&
.field--type-entity-reference
{
a
{
...
...
Write
Preview
Supports
Markdown
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