.navigation-layout{ display: flex; flex-direction: column; height: 100%; } .amap-navigation-contarner{ position: relative; width: 100%; flex: 1 0 auto; } #navg-panel{ width: 100%; min-height: 60px; background: white; padding: 10px; display: flex; } /* id */ #address{ word-break: break-all; margin-left: 5px; }