AT-UI / at-ui

A fresh and flat UI-Kit specially for desktop application, made with ♥ by Vue.js 2.0 (DEPRECATED)
https://at.aotu.io
MIT License
2.34k stars 230 forks source link

.flex-center text-align #28

Closed andrey-hohlov closed 6 years ago

andrey-hohlov commented 7 years ago

Because .flex-center class has text-align: center style children elements (like select) break:

token 2017-09-07 10-35-46

koppthe commented 6 years ago

Sorry, too late to reply. Would you like to show the code? thanks~

andrey-hohlov commented 6 years ago

For example:

<div class="row at-row flex-center">
  <div class="col-sm-24 col-md-12">
    <at-select v-model="selectedItem" filterable size="large">
      <at-option
        v-for="item in items"
        :key="item.id"
        :label="item.name"
        :value="item.id">
      </at-option>
    </at-select>
  </div>
</div>     

(if need I can add this on codepen)

koppthe commented 6 years ago

48