diff --git a/public/css/style.less b/public/css/style.less index 69eab2e17c..9b905cbdbe 100644 --- a/public/css/style.less +++ b/public/css/style.less @@ -824,3 +824,10 @@ a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus { } } + +@media (max-width: 979px) { + .hidden-mobile { + // BS2/3's hidden-xs does not support inline-block, so here it is for now. + display: none !important; + } +} \ No newline at end of file diff --git a/src/routes/api.js b/src/routes/api.js index 4b1c2431cf..c703b1cda8 100644 --- a/src/routes/api.js +++ b/src/routes/api.js @@ -44,7 +44,7 @@ var user = require('./../user.js'), require('async').each(data.categories, iterator, function(err) { data.motd_class = (meta.config.show_motd === '1' || meta.config.show_motd === undefined) ? '' : 'none'; - data.motd = marked(meta.config.motd || "# NodeBB v " + pkg.version + "\nWelcome to NodeBB, the discussion platform of the future.\n\n
"); + data.motd = marked(meta.config.motd || "# NodeBB v " + pkg.version + "\nWelcome to NodeBB, the discussion platform of the future.\n\n"); res.json(data); });