www.goo.ne.jp - navigation icons not aligned correctly
URL: http://www.goo.ne.jp/ Browser / Version: Firefox 39.0 Operating System: Android Problem type: Layout is messed up
Steps to Reproduce
- Navigate to: http://www.goo.ne.jp/
Expected Behavior: Having the top bar icon being aligned
Actual Behavior: The icons are not aligned because of flexbox issues.
country: jp
#logoarea{display:-webkit-box;
width:100%}
#logobox{-webkit-box-align:center;
display:-webkit-box}
#logo{-webkit-box-flex:1;
-webkit-flex:1;
min-width:140px;
padding:6px 4px}
These are easy to fix. You may want to use http://hallvord.com/temp/moz/cssfixme.php
Firefox Aurora

Firefox Unprefixed

Mozilla Japan has a contact. Tomoya or other guy will contact them.
I am seeing top bar icon being aligned now. @karlcow please confirm it.

CONFIRMED. This is fixed.
One issue though. They fixed it by adding -moz-. It means that other browsers such as IE will not benefit ( @TheWebJustWorks ) AND it's not robust for the future, when browsers decide to remove the prefixed syntax.
Suggestions to fix below:
ACTUAL
#logoarea {
display: -moz-box;
display: -webkit-box;
width: 100%
}
#logobox {
-mox-box-align: center;
-webkit-box-align: center;
display: -moz-box;
display: -webkit-box
}
#logo {
-moz-box-flex: 1;
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
min-width: 140px;
padding: 6px 4px
}
It would be better to have. It will more robust for the future and will avoid to have to change again.
BETTER
#logoarea{
display: -webkit-box;
display: flex;
width: 100%;
}
#logobox{
-webkit-box-align: center;
align-items: center;
display: -webkit-box;
display: flex;
}
#logo{
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1 auto;
min-width: 140px;
padding: 6px 4px;
}
Also here too.
ACTUAL
#imatopi-list .rank-list li a {
-moz-box-align: center;
-webkit-box-align: center;
box-align: center;
-moz-box-pack: justify;
-webkit-box-pack: justify;
display: -moz-box;
display: -webkit-box;
font-size: 16px;
padding: 14px 9px;
position: relative;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 100%
}
#imatopi-list .rank-list li p {
-moz-box-flex: 1;
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
margin-right: 10px
}
BETTER
#imatopi-list .rank-list li a{
-webkit-box-align: center;
box-align: center;
align-items: center;
-webkit-box-pack: justify;
justify-content: space-between;
display: -webkit-box;
display: flex;
font-size: 16px;
padding: 14px 9px;
position: relative;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
}
#imatopi-list .rank-list li p{
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1 auto;
margin-right: 10px;
}
I'll contact with @karlcow 's suggestion.
This is fixed! Thanks @kudodo