Skip to content

Commit

Permalink
Merge pull request #17 from hotosm/feature/fixes
Browse files Browse the repository at this point in the history
Gulp addons and tether element fixes
  • Loading branch information
ricardoduplos committed Jun 1, 2016
2 parents 4f58f94 + 8fc2e5f commit ba00801
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions assets/styles/oam-design-system/_drops.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@
transition: none;
}

.tether-element {
z-index: 9999;
}

.tether-element-attached-top,
.tether-element-attached-bottom {
.drop__content {
Expand Down
5 changes: 3 additions & 2 deletions gulp-addons.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ module.exports.graphicsMiddleware = function (fs) {
if (pieces[1].match(/\.svgz?$/)) {
res.setHeader('Content-Type', 'image/svg+xml');
}
res.end(fs.readFileSync(path.join(__dirname, './assets/graphics', pieces[1])));
// Body gets modified. End response.
return res.end(fs.readFileSync(path.join(__dirname, './assets/graphics', pieces[1])));
} catch (e) {
// Nothing to do there.
return next();
}
return next();
};
};

0 comments on commit ba00801

Please sign in to comment.