Skip to content

Commit

Permalink
fix(readme): wrong styles of headings in the summary tag
Browse files Browse the repository at this point in the history
Error:
- As the `h2` and `h3` tags used within the `summary` tag have been removed to correct the above problem, the text size has changed.
The font size of the `summary` tag should be `h2` or `h3` as appropriate.

Solution:
- Transform icon and text of the headings into SVG images with fixed-width using the online tool:
https://readme-typing-svg.demolab.com

Reason:
- When HTML block tags (`h2`, `div`) are used instead of inline tags (`span`, `b`), they take up 100% of their size, so when they do not fit, the content is moved to the next line.

Reference:
- Issue #17
  • Loading branch information
beatrizsmerino committed Mar 9, 2024
1 parent 27cd029 commit ba8980d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -48,7 +48,7 @@

<details id="presentation" open="true">
<summary>
πŸ‘‹ Presentation
<img src="https://readme-typing-svg.demolab.com?font=Fira+Code&size=22&weight=600&pause=1000&color=00ADBB&vCenter=true&repeat=false&random=false&width=250&height=26&lines=πŸ‘‹_Presentation" alt="Presentation" />
</summary>
<div>
<div>
Expand All @@ -67,7 +67,7 @@

<details id="skills" open="true">
<summary>
πŸ’Ό Skills
<img src="https://readme-typing-svg.demolab.com?font=Fira+Code&size=22&weight=600&pause=1000&color=00ADBB&vCenter=true&repeat=false&random=false&width=250&height=26&lines=πŸ’Ό_Skills" alt="Skills" />
</summary>
<div>
<ul>
Expand Down Expand Up @@ -318,7 +318,7 @@

<details id="events" open="true">
<summary>
πŸ—“οΈ Events
<img src="https://readme-typing-svg.demolab.com?font=Fira+Code&size=22&weight=600&pause=1000&color=00ADBB&vCenter=true&repeat=false&random=false&width=250&height=26&lines=πŸ—“οΈ_Events" alt="Events" />
</summary>
<div>
<h3>
Expand Down Expand Up @@ -365,7 +365,7 @@

<details id="stats" open="true">
<summary>
πŸ“Š Stats
<img src="https://readme-typing-svg.demolab.com?font=Fira+Code&size=22&weight=600&pause=1000&color=00ADBB&vCenter=true&repeat=false&random=false&width=250&height=26&lines=πŸ“Š_Stats" alt="Stats" />
</summary>
<div>
<p>
Expand Down

0 comments on commit ba8980d

Please sign in to comment.