浏览代码

Fix lobby name display

Kirk Trombley 3 年之前
父节点
当前提交
8c184a7af0
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      client/src/components/screens/Lobby/Lobby.module.css

+ 10 - 0
client/src/components/screens/Lobby/Lobby.module.css

@@ -29,8 +29,10 @@
 }
 
 .label {
+  max-width: 60vw;
   padding: 1em;
   text-align: center;
+  overflow-wrap: break-word;
 }
 
 .players {
@@ -46,6 +48,14 @@
   padding-left: 1rem;
 }
 
+.players > ul {
+  max-width: 20vw;
+}
+
+.players li {
+  overflow-wrap: break-word;
+}
+
 .playersTitle {
   margin-top: 10px;
 }