Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 38afbc0

Browse files
committed
matching core/styleguide with public/styleguide
1 parent ccacf99 commit 38afbc0

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

core/styleguide/css/styleguide.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@
210210
position: absolute;
211211
left: auto;
212212
right: 0; }
213+
.sg-acc-panel.sg-left {
214+
position: absolute;
215+
left: auto; }
213216

214217
/* Controls (sizing, view mode) */
215218
.sg-controls {

core/styleguide/css/styleguide.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,11 @@ $animate-quick: 0.2s;
306306
left: auto;
307307
right: 0;
308308
}
309+
310+
&.sg-left {
311+
position: absolute;
312+
left: auto;
313+
}
309314
}
310315

311316
/* Controls (sizing, view mode) */

core/styleguide/css/vendor/typeahead.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
.typeahead,
1111
.tt-query,
1212
.tt-hint {
13-
width: 396px;
13+
width: 220px;
1414
height: 30px;
1515
padding: 8px 12px;
1616
font-size: 14px;

core/styleguide/js/pattern-finder.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ var patternFinder = {
2626

2727
// instantiate the bloodhound suggestion engine
2828
var patterns = new Bloodhound({
29-
datumTokenizer: function(d) { return Bloodhound.tokenizers.whitespace(d.patternPartial); },
30-
queryTokenizer: Bloodhound.tokenizers.whitespace,
29+
datumTokenizer: function(d) { return Bloodhound.tokenizers.nonword(d.patternPartial); },
30+
queryTokenizer: Bloodhound.tokenizers.nonword,
3131
limit: 10,
3232
local: this.data
3333
});

0 commit comments

Comments
 (0)