Skip to content

Commit de9be28

Browse files
committed
Assets for Semantic UI 1.5.1
1 parent 8931d6c commit de9be28

5 files changed

Lines changed: 6 additions & 4 deletions

File tree

assets/javascripts/semantic_ui/definitions/modules/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ $.fn.search = function(parameters) {
305305
if( content[field].match(searchRegExp) ) {
306306
results.push(content);
307307
}
308-
else if( settings.searchFullText && content[field].match(content[field]) ) {
308+
else if( settings.searchFullText && content[field].match(fullTextRegExp) ) {
309309
fullTextResults.push(content);
310310
}
311311
}

assets/javascripts/semantic_ui/definitions/modules/sidebar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ $.fn.sidebar = function(parameters) {
8383
transitionEvent = module.get.transitionEvent();
8484

8585
// cache on initialize
86-
if( module.is.legacy() || settings.legacy) {
86+
if( (module.useLegacy == 'auto' && module.is.legacy()) || settings.useLegacy) {
8787
settings.transition = 'overlay';
8888
settings.useLegacy = true;
8989
}
@@ -991,7 +991,7 @@ $.fn.sidebar.settings = {
991991
scrollLock : false,
992992
returnScroll : false,
993993

994-
useLegacy : false,
994+
useLegacy : 'auto',
995995
duration : 500,
996996
easing : 'easeInOutQuint',
997997

assets/stylesheets/semantic_ui/definitions/elements/button.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@
228228
.ui.animated.button {
229229
position: relative;
230230
overflow: hidden;
231+
vertical-align: @animatedVerticalAlign;
231232
padding-right: 0em !important;
232233
}
233234

assets/stylesheets/semantic_ui/themes/default/elements/button.variables

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@
258258
@floatedMargin: 0.25em;
259259

260260
/* Animated */
261+
@animatedVerticalAlign: middle;
261262
@animationDuration: 0.3s;
262263
@animationEasing: ease;
263264
@fadeScaleHigh: 1.5;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Less
22
module Rails
33
module SemanticUI
4-
VERSION = '1.5.0.0'
4+
VERSION = '1.5.1.0'
55
end
66
end
77
end

0 commit comments

Comments
 (0)