diff --git a/css/style.css b/css/style.css index 15c540d..45cad37 100644 --- a/css/style.css +++ b/css/style.css @@ -119,6 +119,7 @@ input[type="text"]:focus { display: flex; justify-content: space-around; flex-wrap: wrap; + } .radio-group input[type="radio"] { @@ -137,6 +138,9 @@ input[type="text"]:focus { border: 2px solid transparent; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); color: var(--cyber-font-color); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .radio-group input[type="radio"]:checked + label { @@ -246,6 +250,8 @@ button:active { position: relative; margin-bottom: 5px; transition: background-color 0.3s; + white-space: normal; + overflow: visible; } .faq-question::before { @@ -271,7 +277,7 @@ button:active { } .faq-checkbox:checked + .faq-question + .faq-answer { - max-height: 500px; + max-height: 100%; padding: 15px; }