Ver Fonte

Got the element to be centered

Kirk Trombley há 5 anos atrás
pai
commit
ef9c915d8e

+ 2 - 1
client/src/components/util/GameCreationForm/Dropdown.module.css

@@ -35,7 +35,8 @@
   display: block;
   position: absolute;
   background-color: #333;
-  /* width: calc(100% - 8px); */
+  transform: translateX(-50%);
+  left: 50%;
   min-width: 120px;
   z-index: 1;
   border-radius: 12px;