refactor(css): 添加 contain 属性优化布局性能

- 在多个组件样式中添加 contain: layout style 提升渲染性能
- 移除移动端浮动按钮的拖拽功能实现
- 简化 JavaScript 中的 FAB 元素初始化逻辑
- 清理未使用的拖拽相关事件监听器绑定代码
This commit is contained in:
hehh
2025-11-27 15:59:24 +08:00
parent 86468a9f77
commit f66c17095b
3 changed files with 8 additions and 69 deletions

View File

@@ -3,6 +3,7 @@
/* Base Artalk container styles */
#artalk-container {
border-radius: 12px;
contain: layout style;
}
/* 确保评论区域适配白天/黑夜模式 */