EHRI / ehri-frontend

The EHRI project's portal interface.
https://portal.ehri-project.eu
European Union Public License 1.2
14 stars 9 forks source link

RTL / Bidi results get right padding on doc-search-details. #1192

Open ixt opened 5 years ago

ixt commented 5 years ago

Sometimes doesn't occur on certain window sizes. Add "padding-right: 0;" to: .search-item-details > ul

Examples: https://portal.ehri-project-test.eu/units?lang=heb

mikesname commented 5 years ago

Have tried to address this along with some other (mystifying) RTL text-alignment issues. @ixt please check?

mikesname commented 5 years ago

This the correct way to do this is simply to unset the body's text-align attribute, which is set by Bootstrap's reboot.scss.

body {
    text-align: unset;
}

The default should let the dir attribute and direction work as expected.