Mordhin / starships-looters

3 stars 2 forks source link

Typed JS first try on banner #148

Closed sbriclot closed 3 years ago

sbriclot commented 3 years ago

Typed JS works fine with Fontawesome. On this version, the shuttle is not aligned with the text due to CSS rules for the static subtitle. When I remove these settings, typed text and icon are aligned well. image

Just a doubt about the position of the component. Centered like the original one, the render is strange. It's possible to align the component on the left with a left padding 312 to align the 2 subtitles, but when the window is reduced, the result is not. To be discuted tomorrow morning.

If you want to test it, you have to run a yarn install to locally include typed.js (or maybe you have to execute a yarn add typed.js, I'm not sure).

sbriclot commented 3 years ago

Without cursor but 2 spans around the text image