Home > front end >  How let the menu alignment element UI navigation
How let the menu alignment element UI navigation

Time:09-29



 
Default - active="1"

@ open="handleOpen"
@ close="handleClose"
The router
Style="min - height: 100%"
Background - color="# 545 popular c64
"The text - color="# FFF
"Active - text - color="# ffd04b" & gt;









Want align options and front page, do not know how to get into this

CodePudding user response:

. The el - submenu. El menu - item {
Padding - left: 45 px! important;
}

Impose important change it CSS

Note CSS coverage, do not affect the other pages

CodePudding user response:

If there is setting the package its components - the align attribute, such as my project because app. Vue set up the center alignment, you set the text - the align to the left with respect to ok
<style>
# app {
The font-family: 'Avenir', Helvetica, Arial, sans-serif.
-webkit-font-smoothing: antialiased;
- moz - osx - the font - smoothing: grayscale.
text-align: center;
Color: # 2 c3e50;
Margin - top: 60 px;
}
</style>
  • Related