자, 제 안드로이드 폰 3대(제조사 등 각각 다름)에서는 한 웹 페이지가 이렇게 보입니다(원래 모습):
제 파트너의 아이폰, 가족의 아이폰, 친구의 아이폰에서는 이렇게 보입니다:
위 이미지 영역을 렌더링하는 모바일 SCSS 파일은 다음과 같습니다:
body.landing-page {
&.blog {
> .contents {
max-width: 100%;
width: 100%;
display: block;
padding: 1em;
.page-first {
display: none;
}
}
.mobile-header .menu {
background-color: #4a4a4a !important;
/* height: min-content; */
}
.topic-list {
grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
padding: 2em 0 0 0;
.topic-byline {
.bull {
padding: .2em .5em;
}
}
}
}
.canvas {
padding: 0.8em !important;
}
.bull {
display:none
}
&.blog-post {
header {
background-color: $secondary;
}
.container {
width: 100%;
}
.post-container {
width: 100%;
}
.title-container {
background: no-repeat center/cover fixed;
display: flex;
flex-direction: column;
min-height: 530px;
max-height: 40%;
justify-content: flex-end;
align-items: center;
.title {
font-size: 2.0em !important;
width: 100%;
text-align: center;
/* margin: 0 0 1em 0; */
}
.topic-byline {
flex-direction: column;
.bull {
padding: .2em 1em;
}
}
}
img {
max-width: 100%;
height: auto;
}
.comment-container {
.comment-heading h4 {
text-align: center;
}
.comment-footer {
padding: 0 2em;
box-sizing: border-box;
justify-content: center;
}
}
}
&.blog,
&.blog-post {
.btn-subscribe {
padding: 0;
.fixed-avatar {
width: 60px;
height: 60px;
}
}
}
}
그래서 왜 모든 아이폰에서는 이미지가 제대로 위치되지 않는 것처럼 보이지만, 여러 안드로이드 폰에서는 정상적으로 보이나요? 어떻게 수정해야 할까요? 지금까지 총 30시간 정도 이 문제로 고생하고 있습니다.
이상한 점은, 인스펙트 엘리먼트(Inspect Element)에서도 몇 가지 아이폰 프리셋에서는 정상적으로 표시되는데, 실제 기기에서는 그렇지 않다는 것입니다…

