I have recently created a test webpage, and I noticed that despite using the same CSS style, the line heights are different. This discrepancy is more prominent when viewing the page in Chrome and highlighting the usage of the .instruction class. It appears that the total margins between two lines are halved for elements directly adjacent to brackets.
You can access the CSS file here.
It's important to note that all lines are styled with the exact same .instruction class CSS properties:
.instruction {
max-width: 48ch;
display: flex;
flex-direction: row;
margin: 0.2em 0em;
vertical-align: middle;
}
Any assistance or insights on this matter would be highly appreciated!