Comments

munzirtaha’s picture

Assigned: munzirtaha » Unassigned
StatusFileSize
new388 bytes

Patch attached.

manjit.singh’s picture

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

jhedstrom’s picture

Status: Needs review » Needs work
Issue tags: +Needs reroll

From what I can tell, this is still an issue--however the patch needs to be re-rolled given that system.theme.css is gone (#2395853: Split system.module.css and system.theme.css files into SMACSS style components).

njim’s picture

I'd like to work on this. I've never contributed and was looking for an easy win. Will try rerolling now.

njim’s picture

Issue summary: View changes
StatusFileSize
new326.12 KB

I wanted to help, but I'm not really sure what work there is to complete. The patch is successful at the time it was created but has a conflict when attempting to rebase. As jhedstrom pointed out, the system.theme.css styles where relocated. In this case, the link styles were moved to core/themes/classy/css/components/links.css.

As far as I can tell, the updated stylesheet addresses this issue on line 13. Screenshot or rendered content attached. I'm not sure there is any work to be done, but would welcome a chance to get involved if someone knows better.

The last submitted patch, 1: 2514734-1.patch, failed testing.

The last submitted patch, 1: 2514734-1.patch, failed testing.

manjit.singh’s picture

Status: Needs work » Needs review
manjit.singh’s picture

File system.theme.css is not longer in the core. So we have to add the same in classy or seven.

lhuria94’s picture

Assigned: Unassigned » lhuria94
lhuria94’s picture

Assigned: lhuria94 » Unassigned
StatusFileSize
new875 bytes
new63.8 KB

There was a issue with ltr & rtl mode both. Have done changes in the seven & classy theme.
See attached screenshot for reference.

bandanasharma’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new62.63 KB
new62.86 KB
new58.36 KB
new58.82 KB

#12 patch is apply success fully. It is working fine. I have attached before and after images.

star-szr’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: -Needs reroll

Thanks for the work so far everyone.

+++ b/core/themes/classy/css/components/links.css
@@ -7,11 +7,13 @@ ul.inline,
+  margin-left: 0;

+++ b/core/themes/seven/css/components/menus-and-lists.css
@@ -38,4 +38,5 @@ ul.inline li {
+  padding-left: 0;

I think both of these need an /* LTR */ comment and need to be undone in the RTL version. The padding-left one may need an equivalent RTL selector added if one doesn't exist.

https://www.drupal.org/node/1887862#rtl

joseph.olstad’s picture

Status: Needs work » Reviewed & tested by the community

@Cottser ,

Patch 8 and fixes both RTL and LTR , so therefore no RTL LTR comment necessary in this case.

Good to go.

star-szr’s picture

Status: Reviewed & tested by the community » Needs work

@joseph.olstad I'm confused - it's a standard for a reason why wouldn't it apply here? I think there is also missing CSS not just comments…

manjit.singh’s picture

StatusFileSize
new139.03 KB

1.


@Cottser I understand we have to add /* LTR */ in this. Because there is a styling exist for /* RTL */ as well

+++ b/core/themes/seven/css/components/menus-and-lists.css
@@ -38,4 +38,5 @@ ul.inline li {
+  padding-left: 0;

but here, there is no other CSS properties is applied for /* RTL */ then why do we have to add /* LTR */ comment in this.

+++ b/core/themes/classy/css/components/links.css
@@ -7,11 +7,13 @@ ul.inline,
+  margin-left: 0;



2.

+++ b/core/themes/classy/css/components/links.css
@@ -7,11 +7,13 @@ ul.inline,
 [dir="rtl"] ul.inline,
 [dir="rtl"] ul.links.inline {
...
   padding-left: 15px;

@all Also, I am wondering. Why we need this padding for /* RTL */ ? Is it applied on some other pages ?

mukeysh’s picture

Added patch

mukeysh’s picture

StatusFileSize
new1.02 KB

Added interdiff file

mukeysh’s picture

Status: Needs work » Needs review
NikitaJain’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new121.67 KB
new120.13 KB

Tested and verified on Ubuntu 14.04 for different browsers. Its working fine. Screenshots attached.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

mukeysh’s picture

mukeysh’s picture

StatusFileSize
new987 bytes

Uploaded patch for 8.3.x-dev branch. Please review

alexpott’s picture

Assigned: Unassigned » star-szr

Assigning to @Cottser given prior involvement.

star-szr’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs screenshots
+++ b/core/themes/seven/css/components/menus-and-lists.css
@@ -38,4 +38,9 @@ ul.inline li {
+  padding-left: 0; /* RTL */

An /* RTL */ comment isn't a thing. https://www.drupal.org/docs/develop/standards/css/css-formatting-guideli...

For frontend changes like this before and after screenshots are very useful as well.

star-szr’s picture

Assigned: star-szr » Unassigned
kostyashupenko’s picture

Assigned: Unassigned » kostyashupenko
kostyashupenko’s picture

Assigned: kostyashupenko » Unassigned
Status: Needs work » Needs review
StatusFileSize
new967 bytes
new387 bytes
new15.76 KB

No need to place comments there, coz those styles are ok both, ltr and rtl

so if code is valid, then it is RTBC, screen is here

After this patch
RTL-alignment.png

Status: Needs review » Needs work

The last submitted patch, 29: a_forgotten-2514734-29.patch, failed testing.

surbhiG’s picture

Status: Needs work » Reviewed & tested by the community

Review the latest patch and this issue seems fixed now. So moving it to RTBC.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

xjm’s picture

Version: 8.3.x-dev » 8.4.x-dev
Status: Reviewed & tested by the community » Needs review
Issue tags: +Needs subsystem maintainer review
+++ b/core/themes/seven/css/components/menus-and-lists.css
@@ -38,4 +38,9 @@ ul.inline li {
+  padding-left: 0; /* LTR */

Where is the corresponding RTL for this? What I see in the file in HEAD is:

ul.links li,
ul.inline li {
  padding-right: 1em; /* LTR */
}
[dir="rtl"] ul.links li,
[dir="rtl"] ul.inline li {
  padding-left: 1em;
  padding-right: 0;
}
ul.inline li {
  display: inline;
}

Also, is the menus and lists CSS file the right place to specify formatting for the comment add form? Seems unexpected to me.

Finally, this is introducing CSS changes in Classy, which is supposed to be stable. At the least, for that reason, the issue needs to be targeted for 8.4.x. The BC policy is:

We will change the markup and CSS that core generates for user interface and theme improvements. Specific core themes (Bartik, Seven) are considered internal and may change. The stable base themes (Stable, Classy) are considered public API, with stable templates, markup, and CSS, so themes needing BC support should extend one of those base themes.

Would the change to Classy comply with that? Tagging for subsystem maintainer review. Can we fix it just in module CSS instead? Is the comment module's own CSS perhaps a better place? Or, if the fix really belongs in Seven's menus and lists CSS, what other places on the site besides the comment form are affected?

I think when we test this we should add additional before-and-after screenshots of several different places where the CSS is used, both for RTL and LTR, pointing out why each part is necessary. The one in #29 is a good start but we need things to compare it to and it would help also to annotate it. The screenshots can be annotated to point out which each is and added to the summary. That will make this easier to review.

Thanks all for your continued work on this!

xjm’s picture

Also @surbhi90, please provide more detail on what you reviewed when post a comment in order to receive issue credit and help the issue progress. Thanks!

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

pameeela’s picture

This does not appear to be an issue anymore? Without specific steps it was a little bit difficult to get to the bottom of it, especially because the IS has no info other than screenshots. From what I can see it appears the same in LTR and RTL in Seven and Bartik and I think it looks fine:

Bartik LTR:

Bartik RTL:

Seven LTR:

Seven RTL:

So I will close it for now. If someone has additional info and steps to reproduce, feel free to reopen.