Skip to content

Clear rows for Related Posts: See #1091#1337

Closed
RCowles wants to merge 1 commit intoAutomattic:masterfrom
RCowles:1091-gh
Closed

Clear rows for Related Posts: See #1091#1337
RCowles wants to merge 1 commit intoAutomattic:masterfrom
RCowles:1091-gh

Conversation

@RCowles
Copy link
Copy Markdown
Contributor

@RCowles RCowles commented Nov 26, 2014

Attempted to fix #1091 (see modules/related-posts/related-posts.css) but ran into some issues after running grunt. Looks like something strange with rtl. Submitting PR per @MichaelArestad's suggestion.

@MichaelArestad
Copy link
Copy Markdown
Contributor

There's weird stuff going on. Is css-janus supposed to modify class names?
https://github.com/Automattic/jetpack/pull/1337/files#diff-5fe01ebcde600c172fa4ad9c2bb778e2L2144

Looks like adding these comments might prevent it: /* @noflip */, but that's a PITA.

CC @georgestephanis @jeherve

@jeherve jeherve added [Feature] Related Posts Bug When a feature is broken and / or not performing as intended labels Nov 27, 2014
@MichaelArestad
Copy link
Copy Markdown
Contributor

Just to be clear, do not merge until we resolve the class name flipping. (unless that's expected behavior)

@zinigor
Copy link
Copy Markdown
Contributor

zinigor commented Nov 27, 2014

As far as I know, autortl does the same thing, you just need to keep it in mind when using classes with left or right in the layout and substitute them with one another if RTL is detected.

@jeherve jeherve added this to the 3.3 milestone Dec 4, 2014
@lezama lezama modified the milestones: 3.4, 3.3 Dec 8, 2014
@enejb
Copy link
Copy Markdown
Member

enejb commented Dec 11, 2014

I think we should remove the left and right out of the class names.
Don't think it is best practice to have class names with left and right in them.

@MichaelArestad
Copy link
Copy Markdown
Contributor

I agree.

@samhotchkiss samhotchkiss modified the milestones: 3.5, 3.4 Jan 28, 2015
samhotchkiss added a commit that referenced this pull request Feb 2, 2015
Clear rows for Related Posts: Fixes #1091 and #1337
RCowles added a commit that referenced this pull request Feb 9, 2015
Conflicts:
	css/jetpack-rtl.css
	css/jetpack.css
@RCowles RCowles closed this Feb 25, 2015
@RCowles RCowles deleted the 1091-gh branch February 25, 2015 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug When a feature is broken and / or not performing as intended [Feature] Related Posts Touches WP.com Files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Related Posts: limit number of characters in post titles, instead of number of words

10 participants