Closed alexgreen closed 2 years ago
Basically on window.ready it loops the items in the list and finds the tallest one and then makes them all that height + a buffer. As long as the elements haven't changed their location/attributes it should still work - have any class names or object nesting changed ?
On Feb 23, 2017, at 10:53 PM, alexgreen notifications@github.com wrote:
Assigned #376 to @MrBryan.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
No change I'm aware of. I just included organisms/global/header.html like the story pages do:
`{% include meta/head.html %}
{% include 01-molecules/messaging/alerts--browser-support.html %} {% include 02-organisms/sections/httpswarning.html %} {% include 01-molecules/blocks/ad-banner.html ad-source="UBCMUD-leaderboard.jpg" %} {% include 02-organisms/global/header.html %} {{ content }}`That was a pretty hacky fix in the first place maybe a good time to do it right and truncate length of text with eclipses and get a consistent height
Sent from my iPhone
On Feb 24, 2017, at 11:02 PM, alexgreen notifications@github.com wrote:
No change I'm aware of. I just included organisms/global/header.html like the story pages do:
`{% include meta/head.html %}
{% include 01-molecules/messaging/alerts--browser-support.html %} {% include 02-organisms/sections/httpswarning.html %} {% include 01-molecules/blocks/ad-banner.html ad-source="UBCMUD-leaderboard.jpg" %} {% include 02-organisms/global/header.html %}
{{ content }}` — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
There seems to be javascript that's hardcoding a height into the html of latest story items. (See screen shot.) When I include the header (organisms/global/header.html) in the new index pages this height doesn't get applied, resulting in a broken latest-stories layout. What needs to be done for header.html object to work consistently on all pages?