mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-01 11:00:23 +02:00
Clean code.
This commit is contained in:
@@ -32,6 +32,9 @@
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
}
|
||||
.crumb:first-of-type .sep {
|
||||
width: 0;
|
||||
}
|
||||
.label {
|
||||
line-height: 48px;
|
||||
display: inline-block;
|
||||
|
@@ -20,10 +20,6 @@ modulejs.define('ext/crumb', ['_', '$', 'core/event', 'core/location', 'core/res
|
||||
|
||||
$html.find('.label').text(item.label);
|
||||
|
||||
if (item.isDomain() || item.isRoot()) {
|
||||
$html.find('.sep').width(0);
|
||||
}
|
||||
|
||||
if (item.isCurrentFolder()) {
|
||||
$html.addClass('active');
|
||||
}
|
||||
|
Reference in New Issue
Block a user