Browse Source

Fix variable addition for close/very close rail #3835

pull/3879/merge
Jack Lukic 9 years ago
parent
commit
b0ca6625c8
2 changed files with 3 additions and 2 deletions
  1. 1
      RELEASE-NOTES.md
  2. 4
      src/themes/default/elements/rail.variables

1
RELEASE-NOTES.md

@ -19,6 +19,7 @@
- **Divider** - Descenders like "g" are cut off in `horizontal divider` #3585 - **Divider** - Descenders like "g" are cut off in `horizontal divider` #3585
- **Form Validation / Dropdown** - Using "enter" key in a `search dropdown` could cause a form to be submitted #3676 - **Form Validation / Dropdown** - Using "enter" key in a `search dropdown` could cause a form to be submitted #3676
- **Form Validation** - Revalidating a field `on: blur` could cause fields not yet interacted with to be validated #3606 - **Form Validation** - Revalidating a field `on: blur` could cause fields not yet interacted with to be validated #3606
- **Rail** - Fixed incorrect width for `close rail` and `very close rail` caused by variable addition with mixed units `px` + `em` #3835
- **Search** - A previous unfinished XHR query aborting would cause the next query to fail #2779 - **Search** - A previous unfinished XHR query aborting would cause the next query to fail #2779
**Bugs** **Bugs**

4
src/themes/default/elements/rail.variables

@ -23,8 +23,8 @@
@splitCloseDistance: (@closeDistance / 2); @splitCloseDistance: (@closeDistance / 2);
@splitVeryCloseDistance: (@veryCloseDistance / 2); @splitVeryCloseDistance: (@veryCloseDistance / 2);
@closeWidth: @width + @splitCloseDistance;
@veryCloseWidth: @width + @splitVeryCloseDistance;
@closeWidth: ~"calc("@width~" + "@splitCloseDistance~")";
@veryCloseWidth: ~"calc("@width~" + "@splitVeryCloseDistance~")";
/* Dividing */ /* Dividing */
@dividingBorder: 1px solid @borderColor; @dividingBorder: 1px solid @borderColor;

Loading…
Cancel
Save