Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_ #405

Closed
ghost opened this issue Oct 13, 2016 · 2 comments
Closed

_ #405

ghost opened this issue Oct 13, 2016 · 2 comments

Comments

@ghost
Copy link

@ghost ghost commented Oct 13, 2016

_

@dioslaska
Copy link
Contributor

@dioslaska dioslaska commented Oct 14, 2016

Thanks for the report!

Here's a css patch for the Material theme until it's fixed:

.mbsc-material .mbsc-segmented-item:first-child .mbsc-segmented-content,
.mbsc-material .mbsc-segmented-item:last-child .mbsc-segmented-content,
.mbsc-material .mbsc-stepper-minus .mbsc-segmented-content,
.mbsc-material .mbsc-stepper-plus .mbsc-segmented-content {
    border-radius: 0;
}

.mbsc-material.mbsc-ltr .mbsc-segmented-item:first-child .mbsc-segmented-content,
.mbsc-material.mbsc-ltr .mbsc-stepper-minus .mbsc-segmented-content,
.mbsc-material.mbsc-rtl .mbsc-stepper-plus .mbsc-segmented-content,
.mbsc-material.mbsc-rtl .mbsc-segmented-item:last-child .mbsc-segmented-content {
    border-top-left-radius: .214286em;
    border-bottom-left-radius: .214286em;
}

.mbsc-material.mbsc-ltr .mbsc-stepper-plus .mbsc-segmented-content,
.mbsc-material.mbsc-ltr .mbsc-segmented-item:last-child .mbsc-segmented-content,
.mbsc-material.mbsc-rtl .mbsc-segmented-item:first-child .mbsc-segmented-content,
.mbsc-material.mbsc-rtl .mbsc-stepper-minus .mbsc-segmented-content {
    border-top-right-radius: .214286em;
    border-bottom-right-radius: .214286em;
}

The Android Holo theme however seems ok to me: https://demo.mobiscroll.com/v3/forms#demo=segmented&lang=fa&theme=android-holo

In the Android Holo screenshot I don't see the border radiuses. Maybe some earlier CSS patches are still included?

@dioslaska
Copy link
Contributor

@dioslaska dioslaska commented Dec 19, 2016

Fixed in 3.0.0

@dioslaska dioslaska closed this Dec 19, 2016
@ghost ghost changed the title RTL-related issue of Forms' segmented radio buttons _ Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant