Skip to content

Commit

Permalink
(fix) Width of form labels shouldn't exceed workspace width (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen authored Oct 18, 2023
1 parent 9dbbf32 commit bf1598a
Showing 1 changed file with 21 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ ul {
li {
display: block;
padding: 10px 20px;
white-space: nowrap;
transition: all 0.3s ease-in;
border-bottom: 4px solid transparent;
}
Expand Down Expand Up @@ -56,11 +55,13 @@ li:hover {
position: relative;
min-height: 365px;
}

@media screen and (min-width: 767px) {
.slick-initialized .swipe-tab-content {
min-height: 500px;
}
}

.slick-initialized .swipe-tab {
display: flex;
align-items: center;
Expand All @@ -74,9 +75,11 @@ li:hover {
border-bottom: 2px solid rgba(51, 122, 183, 0);
transition: all 0.5s;
}

.slick-initialized .swipe-tab:hover {
color: #337ab7;
}

.slick-initialized .swipe-tab.active-tab {
border-bottom-color: #337ab7;
color: #337ab7;
Expand All @@ -100,6 +103,7 @@ li:hover {
color: rgb(51, 122, 183);
display: inline-block;
}

.question-info {
opacity: 0;
height: 0px;
Expand All @@ -114,15 +118,18 @@ li:hover {
border-color: #337ab7;
margin-top: 2px;
}

.hide-info {
display: none;
height: 0px;
}

.form-tooltip:hover ~ .question-info {
display: block;
opacity: 1;
height: auto;
}

.form-tooltip .tooltipcontent::after {
content: ' ';
position: absolute;
Expand All @@ -147,46 +154,54 @@ ng-select.form-control {
max-height: 450px;
overflow-y: scroll;
}

.no-border {
border: 0;
box-shadow: none;
}

.text-danger {
color: var(--cds-support-01, #da1e28);
}

.text-warn {
color: #eea616;
}

.error {
margin-bottom: 3rem;
}

.afe-control {
margin-bottom: 0.125rem;
}

[hidden] {
display: none !important;
}

.accordion-content-dark {
background-color: #f4f4f4;
padding-right: 1rem;
}

.accordion-content-override {
box-sizing: content-box;
border-bottom: none;
padding: 0 0;
text-wrap: wrap;
overflow-wrap: break-word;
}

.accordion-content-override:hover {
opacity: unset;
border-bottom: none;
}

.question-area {
width: 18rem;
max-width: 18rem; // Design specification for the questions
margin-bottom: 0.5rem;

& > label {
text-wrap: wrap;
overflow-wrap: break-word;
}
}

Expand All @@ -196,7 +211,7 @@ ng-select.form-control {
}

.use-value {
text-wrap: wrap;
overflow-wrap: break-word;
}

.custom-text-area {
Expand Down

0 comments on commit bf1598a

Please sign in to comment.