Skip to content
  • Felix Kopp's avatar
    [BUGFIX] Reset ExtJS 3 CSS box-model · 447a29d3
    Felix Kopp authored
    We have box-models in CSS. They define how the dimensions of
    elements are calculated. Modern CSS is based on the border-box
    outline definition where the *outer* dimensions are defined and
    not the *inner* dimensions.
    
    Bootstrap, Foundation and ExtJS 4 use the modern box sizing
    "border-box". This is the default now.
    
    ExtJS 3 CSS is based on the "old" content-box definition. Since
    CMS still uses ExtJS 3 we need to move ExtJS elements back into
    the former box-sizing mode.
    
    This patch sets box-sizing back to the previous content-box for
    input fields. Most dimensions in other widgets and elements are
    calculated with the help of JS and not based on CSS itself. Thus
    .x-form-field should be enought for the start.
    
    Resolves: #61574
    Related: #32954
    Releases: master
    Change-Id: Iacb9b0d3628940718ac5ba0099398320769f14ac
    Reviewed-on: http://review.typo3.org/32760
    
    
    Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
    Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
    Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
    Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
    447a29d3