diff --git a/frontend/.size-limit.js b/frontend/.size-limit.js
index 6c189f25..c325bcb1 100644
--- a/frontend/.size-limit.js
+++ b/frontend/.size-limit.js
@@ -15,6 +15,10 @@ module.exports = [
path: 'public/last-comments.mjs',
limit: '33 KB',
},
+ {
+ path: 'public/last-comments.css',
+ limit: '6 KB',
+ },
{
path: 'public/deleteme.mjs',
limit: '11 KB',
diff --git a/frontend/app/last-comments.tsx b/frontend/app/last-comments.tsx
index ca5cfecb..2f5acb3b 100644
--- a/frontend/app/last-comments.tsx
+++ b/frontend/app/last-comments.tsx
@@ -7,8 +7,6 @@ import { loadLocale } from 'utils/loadLocale';
import { getLocale } from 'utils/getLocale';
import { ListComments } from 'components/list-comments';
-import 'styles/global.css';
-
const LAST_COMMENTS_NODE_CLASSNAME = 'remark42__last-comments';
const DEFAULT_LAST_COMMENTS_MAX = 15;
diff --git a/frontend/templates/last-comments.ejs b/frontend/templates/last-comments.ejs
index 4c2d1030..77240412 100644
--- a/frontend/templates/last-comments.ejs
+++ b/frontend/templates/last-comments.ejs
@@ -16,7 +16,7 @@
}
<% if (htmlWebpackPlugin.options.env === 'production') { %>
-
+
<% } %>