md-data-table icon indicating copy to clipboard operation
md-data-table copied to clipboard

RTL Styling

Open Fardinak opened this issue 10 years ago • 7 comments

It already works with the RTL layout, but needs some tweaks. While trying to use it in a right-to-left environment, the following came to my attention that need improvements:

  • Toolbar button margins
  • Number/Text Alignment
  • Pagination

This is a great implementation of the docs; good job :+1:

Fardinak avatar Jun 22 '15 15:06 Fardinak

Can you be more specific by what you mean when you say right-to-left environment? Do you mean when you have a right aligned cell adjacent to a left aligned cell? Can you make a quick JSFiddle or Plunker that makes this issue visibly clear? I would be more than happy to improve the layout once I know specifically what you're asking.

Thank you :smiley:. I try to be explicit, nobody likes code with poor documentation.

daniel-nagy avatar Jun 22 '15 16:06 daniel-nagy

I couldn't get a JSFiddle to work (too tired!); but you could simply give your <html> tag, a dir="rtl" attribute (just the way angular material handles RTL content). But still, if you feel the need for a running sample, I could try to provide that (perhaps with the patch) in about 12hrs.

Fardinak avatar Jun 23 '15 00:06 Fardinak

Ah that makes more sense. I probably won't get to this right away. I want to take care of issue #18 first and I think I'm going to be making a lot of changes to the way the directives communicate with each other. I'm getting pretty frustrated with isolated scopes.

daniel-nagy avatar Jun 23 '15 02:06 daniel-nagy

Ah, it's completely okay. We'll be in the development phase till the end of the week anyway; and I'm already writing simple temporary fixes atop.

Fardinak avatar Jun 23 '15 11:06 Fardinak

Any updates on this issue?

jalchr avatar Nov 24 '16 12:11 jalchr

#534

vahid-sohrabloo avatar Jan 13 '17 10:01 vahid-sohrabloo

hi i have issue with rtl https://pasteboard.co/I60YfQk.png how can i solve it?

AminMhmdi avatar Mar 18 '19 16:03 AminMhmdi