Uploaded image for project: 'Keikai'
  1. Keikai
  2. KEIKAI-219

keikai style is affected by zk-bootstrap addon

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.1
    • Fix Version/s: 5.2.0
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None

      Description

      Steps to Reproduce

      1. run keikai with zk-bootstrap

      		<dependency>
      			<groupId>org.zkoss.addons</groupId>
      			<artifactId>zk-bootstrap</artifactId>
      			<version>1.0.0</version>
      		</dependency>
      

      Current Result

      Expected Result

      style is not affected by zk-bootstrap

      Debug Information

      • caused by ZSS-788
      • in StyleSheet.js
           _prepareOtherStyleSheet: function (sb) {
               ...
        
                // ZSS-788
                // filter out HTML element which shouldn't be affected by bootstrap's style "box-sizing:border-box"
                if(zk.isLoaded('bootstrap')) {
        
      • even I remove that code snippet for ZSS-788, there is still some minor style problems at the formula bar:

      Workaround

      StyleSheet.js

        Attachments

        1. toolbar-mess.png
          toolbar-mess.png
          15 kB
        2. StyleSheet.js
          18 kB
        3. formulabar.png
          formulabar.png
          9 kB
        4. dropdown.png
          dropdown.png
          9 kB

          Issue Links

            Activity

              People

              Assignee:
              wenninghsu wenninghsu
              Reporter:
              hawk hawk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: