1
0
Fork 0
mirror of synced 2024-06-28 03:01:15 +12:00

Merge branch 'master' into style/nav-links-font-weight

This commit is contained in:
Eldad A. Fux 2020-06-10 17:34:52 +03:00 committed by GitHub
commit a3b9ddcb77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -20,7 +20,7 @@ $collections = [];
$key = (isset($rule['key'])) ? $rule['key'] : '';
$label = (isset($rule['label'])) ? $rule['label'] : '';
$type = (isset($rule['type'])) ? $rule['type'] : '';
$list = (isset($rule['list'])) ? $rule['list'] : [];
$list = (isset($rule['list']) && !empty($list)) ? $rule['list'] : [];
?>
<?php foreach($list as $item):
if($item === $collection->getId()) {
@ -51,7 +51,7 @@ $collections = [];
$key = (isset($rule['key'])) ? $rule['key'] : '';
$label = (isset($rule['label'])) ? $rule['label'] : '';
$type = (isset($rule['type'])) ? $rule['type'] : '';
$list = (isset($rule['list'])) ? $rule['list'] : false;
$list = (isset($rule['list'])) ? $rule['list'] : [];
$array = (isset($rule['array'])) ? $rule['array'] : false;
?>

View file

@ -238,3 +238,11 @@ small {
.icon-dot-3:before {
.func-rotate(90deg);
}
// fix icons vertical alignment
i[class^='icon-'], i[class*=' icon-']{
&:before {
display: inline;
line-height: unset;
}
}