Skip to content

Commit

Permalink
Fix question header title for extra long text
Browse files Browse the repository at this point in the history
The question header text was designed for one line of text, which would result
in 14px padding on the top, 16px text and 14px padding on the botton.
When the header text overflows one line it would overlap the question content and description.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
  • Loading branch information
susnux committed Oct 25, 2022
1 parent 4c15681 commit 3a1cd7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Questions/Question.vue
Original file line number Diff line number Diff line change
Expand Up @@ -328,11 +328,12 @@ export default {
&__title {
display: flex;
height: 44px;
min-height: 30px; // 44px - 14px (bottom padding)
&__text {
flex: 1 1 100%;
font-size: 16px !important;
padding-bottom: 14px;
font-weight: bold;
margin: auto !important;
Expand Down

0 comments on commit 3a1cd7f

Please sign in to comment.