Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styles refinement #80

Merged
merged 6 commits into from
May 6, 2024
Merged

Styles refinement #80

merged 6 commits into from
May 6, 2024

Conversation

JuliaCasamitjana
Copy link
Collaborator

Description

This PR fixes some styling issues and other style improvements:

  • Commit 1: Sets the font-size property to elements that had none defined and could potentially be overwritten with values that did not match the rest of the styles. This commit also decrease the buttons font-size

    Details
    before after
    Screenshot 2024-05-03 at 14 30 25 Screenshot 2024-05-03 at 14 29 46
  • Commit 2: Improve display of codeblocks:

    Details
    before after
    Screenshot 2024-05-03 at 14 40 28 Screenshot 2024-05-03 at 14 40 02
  • Commit 3: Multiline answers were not properly displayed

    Details
    before after
    Screenshot 2024-05-03 at 14 08 08 Screenshot 2024-05-03 at 14 07 18
  • Commit 4: Prevent hint text from moving down to a new line. (See "Incorrect" hint from image above)

  • Commit 5: Prevents code elements from taking all horizontal space and ensures space between hint and text. Fixes: https://dev.xikolo.de/youtrack/issue/XI-6369#focus=Comments-71-49361.0-0

    Details
    before after
    Screenshot 2024-05-03 at 14 46 33 Screenshot 2024-05-03 at 14 46 50

Decisions / Choices I made

Checklist

  • All checks pass successfully
  • All related commits are squashed together
  • Appropriate labels are added to this pull request

Ensure elements have font sizes to match the rest of the application
font-sizes.
Decrease buttons font size.
Also, the margin is set to the hint element, avoiding the overly
complicated first-child selector
We now use the space-between property instead of the flex-grow. This
prevents code elements from taking all horizontal space.
@JuliaCasamitjana JuliaCasamitjana added the enhancement New feature or request label May 3, 2024
@JuliaCasamitjana JuliaCasamitjana self-assigned this May 3, 2024
Copy link
Collaborator

@christophblessing christophblessing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice work!

Can I ask you to please release a patch version after merging?

@JuliaCasamitjana JuliaCasamitjana merged commit 4c30ee3 into main May 6, 2024
4 checks passed
@JuliaCasamitjana JuliaCasamitjana deleted the jc/XI-6369_styles_refinement branch May 6, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants