Сначала я подумал, что это какой-то скрипт, но даже после изоляции проблема кажется сохраниться.
Код: Выделить всё
const options = [
"Easy to use",
"Loading",
"Fast",
"Others (Mention below)"
];
const template = `
sdjhaskjdhakjs
${options?.map((option, i) => {
return `
${option}
`;
})}
`;
document.getElementById("app").innerHTML = template;Код: Выделить всё
.question-title {
position: relative;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
font-weight: normal;
font-size: 16px;
}
.question-options {
position: relative;
display: flex;
align-items: center;
justify-content: center;
font-weight: normal;
font-size: 12px;
gap: 10px;
flex-warp: warp;
}
.question-option {
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
}
.question-option>label {
margin-bottom: unset;
}
input[type=radio]::after {
content: '';
}Код: Выделить всё
Parcel Sandbox
Подробнее здесь: https://stackoverflow.com/questions/765 ... io-buttons
Мобильная версия