list text wont center properly css

ul {
  text-align: center;
  list-style: inside;
}