CSS issue UI
avatar zero-24
zero-24
8 Apr 2016

Steps to reproduce the issue

On the issue submit screen we have the option View mode

Expected result

the Option looks nice

Actual result

view_mode

avatar zero-24 zero-24 - open - 8 Apr 2016
avatar b2z b2z - change - 12 Apr 2016
Labels Added: CSS issue UI
avatar mbabker
mbabker - comment - 19 Apr 2016

Unless I screwed up implementing something when updating bootstrap-switch to the current version I can't figure out why it's not working right. When I was debugging the JavaScript that manipulates the switch when the page is loading is targeting what I think is the wrong element to calculate the sizes (specifically one of the inner spans), but that's as far as I got with it.

avatar Sandra97
Sandra97 - comment - 22 Jun 2016

It contains too small widths causing a display issue
Hard for me to explain for me how to solve it.
If you replace all the widths of this part, the display will be ok
Currently we have: 84px / 56px / 28px and margin of -28px and 28px
If we could have: 120px / 80px / 40px and margin of -40px and 40px

avatar Sandra97
Sandra97 - comment - 22 Jun 2016

With my sizes:
joomla cms - new item 2016-06-22 18-46-12

avatar mbabker
mbabker - comment - 22 Jun 2016

Part of the problem is it's all converted/computed by the bootstrap-switch JavaScript. It converts this line into its "fancy" display on page load. So we've either got some kind of conflict between third party assets or found a bug in bootstrap-switch.

avatar zero-24
zero-24 - comment - 8 Feb 2017

I have fond something interesting:
http://bootstrapswitch.com/options.html

And there the data-size attribute saddly it don't work if I just change it using the console can you try the values 'normal' & 'large' maybe it helps ?

avatar zero-24
zero-24 - comment - 9 Apr 2017

did this data-size thing work?

avatar zero-24 zero-24 - change - 13 Jan 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-01-13 12:56:03
Closed_By zero-24
avatar zero-24 zero-24 - close - 13 Jan 2018

Add a Comment

Login with GitHub to post a comment