Answer the question
In order to leave comments, you need to log in
Styles are floating on iphone 6,7,8,se. How to fix?
Please tell me how to fix it.
A purple message floats on iPhones. The code is like this
&--user {
width: auto;
min-width: 0px;
display: flex;
height: auto;
flex-direction: column;
max-width: 76%;
color: #fff;
padding: 10px 15px 10px 10px;
align-self: flex-end;
background: #7b2be0;
box-shadow: 0px 5px 4px rgba(123, 43, 224, 0.31),
-5px -5px 5px rgba(255, 255, 255, 0.08);
border-radius: 15px 15px 0px 15px;
.message__text {
color: white;
text-align: end;
height: auto;
}
}
Answer the question
In order to leave comments, you need to log in
{
display: -webkit-flex;
display: flex;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question