GithubHelp home page GithubHelp logo

RTL Support about milligram HOT 11 OPEN

milligram avatar milligram commented on May 22, 2024 4
RTL Support

from milligram.

Comments (11)

mahmoudmy avatar mahmoudmy commented on May 22, 2024

RTL support please!

from milligram.

cjpatoilo avatar cjpatoilo commented on May 22, 2024

I really liked this idea but do not know how I could do that. I would need a lot of help to better understand how to enter this support, and I understand the importance of this feature. So we need to keep the same feeling of the project. In short, Milligram should just hand the feature minimum, the most basic and necessary as possible.

from milligram.

 avatar commented on May 22, 2024

I want help with this. but I don't know your standard.
By creating milligram.rtl.css file and change all left property to right? or using top parent such as body or html by dir="rtl" and create rule for this?

from milligram.

rodrigoddalmeida avatar rodrigoddalmeida commented on May 22, 2024

@Raika: The W3C have some guidelines regarding RTL/Bi-directional text in HTML: http://www.w3.org/International/tutorials/bidi-xhtml/

Start by having the dir="rtl" attribute in the <html> tag and work through some of the styles after that.

from milligram.

rajasekarm avatar rajasekarm commented on May 22, 2024

if you guys needed, I can support for RTL.

from milligram.

 avatar commented on May 22, 2024

@rajzshkr I added PR #44

from milligram.

rajasekarm avatar rajasekarm commented on May 22, 2024

@Raika I think this will increase the css lines, instead have a variable $rtl = true and generate the css dynamically.

from milligram.

 avatar commented on May 22, 2024

@rajzshkr I think this way is better. you can use one file for both direction.
add your PR and lets compare them

from milligram.

cjpatoilo avatar cjpatoilo commented on May 22, 2024

@Raika Thanks for the PR #44 I will analyze this

from milligram.

mmdsharifi avatar mmdsharifi commented on May 22, 2024

One of best ways that I use is rtlcss, we can use with postcss. what's your idea @cjpatoilo ?

from milligram.

mmdsharifi avatar mmdsharifi commented on May 22, 2024

checkout #132

from milligram.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.