-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s.chintai.mynavi.jp - layout is messed up #1146
Comments
Probably all -webkit- stuff. For 1. .btn_top li {
float: left;
width: 30.5%;
height: 50px;
margin-right: 5px;
text-align: center;
font-size: 85%;
border: 2px solid #7F7F7F;
-webkit-border-radius: 5px;
border-radius: 5px;
background: (linear, left top, left bottom, color-stop(0%,rgb(255,255,255)), color-stop(100%,rgb(240,240,240)));
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(255,255,255)), color-stop(100%,rgb(240,240,240)));
} Can be fixed with
For 2.ul.top_tub li.shop_off {
margin: 5px 0 0 5px;
height: 30px;
background: url(../../images/sp/icon_bear_02.png) no-repeat 5px bottom,
gradient(linear, left top, left bottom, color-stop(0%,rgb(134,170,67)), color-stop(100%,rgb(90,129,31)));
background: url(../../images/sp/icon_bear_02.png) no-repeat 5px bottom,
-webkit-gradient(linear, left top, left bottom, color-stop(0%,#87AB43), color-stop(100%,#59801F));
/*text-shadow: 1px 1px 1px #597a23,
-1px -1px 1px #597a23;*/
font-weight: bold;
}
For 3..pref_area .search_new a {
height: 50px;
line-height: 50px;
background: gradient(linear, left top, left bottom, color-stop(0%,rgb(255,255,255)), color-stop(100%,rgb(239,239,239)));
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(255,255,255)), color-stop(100%,rgb(239,239,239)));
border-radius: 0px !important;
-webkit-border-radius: 0px !important;
box-shadow: none !important;
-webkit-box-shadow: none !important;
} can be fixed by For 4..orange_belt_top {
clear: both;
min-height: 25px;
margin: 0;
padding: 6px 13px 4px;
color: #FFF;
font-size: 14px;
text-align: center;
/*text-shadow: 1px 1px 1px #AA5006,
-1px -1px 1px #AA5006;*/
font-weight: bold;
background: gradient(linear, left top, left bottom, color-stop(0%,rgb(237,110,0)), color-stop(100%,rgb(226,87,0)));
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(237,110,0)), color-stop(100%,rgb(226,87,0)));
} can be fixed by
##For 5. This one might be a bit harder. Basically the ul.btn_read li {
display: table;
float: left;
width: 50%;
height: 50px;
background: gradient(linear, left top, left bottom, color-stop(0%,rgb(0,165,231)), color-stop(100%,rgb(0,142,217)));
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,white), color-stop(100%,#EFEFEF));
border-bottom: 1px solid #CCC;
} the nesting |
Confirmed that whitelisting doesn't fix all the issues here. The site will need to fix the CSS. |
Reported via a contact form on their site. |
This is working ul.btn_read {
display: flex;
flex-wrap: wrap;
flex-direction: row;
}
ul.btn_read li {
height: 50px;
width:calc(50% - 1px);
background: gradient(linear, left top, left bottom, color-stop(0%,rgb(0,165,231)), color-stop(100%,rgb(0,142,217)));
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,white), color-stop(100%,#EFEFEF));
border-bottom: 1px solid #CCC;
}
ul.btn_read li:nth-of-type(odd) {
border-right: 1px solid #CCC;
} Or also changing less their code. ul.btn_read li {
display: table;
float: left;
width: 50%;
height: 50px;
background: gradient(linear, left top, left bottom, color-stop(0%,rgb(0,165,231)), color-stop(100%,rgb(0,142,217)));
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,white), color-stop(100%,#EFEFEF));
border-bottom: 1px solid #CCC;
}
ul.btn_read li:nth-of-type(odd) {
width: calc(50% - 1px);
border-right: 1px solid #CCC;
} The |
To explain what is happening. They do So here with |
@chikoski It would be cool if they could fix the last part at the bottom. The solution is given at the bottom of this post |
They changed their code to switch from flex to table display. This is fixed! Thanks. |
URL: http://s.chintai.mynavi.jp/
Browser / Version: Firefox 38.01
Operating System: Android
Problem type: Layout is messed up
Steps to Reproduce
Expected Behavior:
Looks like it does in Chrome
Actual Behavior:
Layout broken at bottom of the page
country: jp
The text was updated successfully, but these errors were encountered: