Tempus-dominus: Sass error

Created on 18 Aug 2016  路  2Comments  路  Source: Eonasdan/tempus-dominus

What the case of plus sign in 272 line of src/sass/_bootstrap-datetimepicker.scss ???

Most helpful comment

EDITED: see #1735

Yes, the latest release on npm includes a sass error which breaks pretty much everything. There's a + on line 272.

in bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss

&.today {
                position: relative;

                &:before {
                    content: '';
                    display: inline-block;
                    border: solid transparent;
 +                  border-width: 0 0 7px 7px;
                    border-bottom-color: $bs-datetimepicker-active-bg;
                    border-top-color: $bs-datetimepicker-secondary-border-color-rgba;
                    position: absolute;
                    bottom: 4px;
                    right: 4px;
                }
            }

All 2 comments

EDITED: see #1735

Yes, the latest release on npm includes a sass error which breaks pretty much everything. There's a + on line 272.

in bootstrap-datetimepicker/src/sass/_bootstrap-datetimepicker.scss

&.today {
                position: relative;

                &:before {
                    content: '';
                    display: inline-block;
                    border: solid transparent;
 +                  border-width: 0 0 7px 7px;
                    border-bottom-color: $bs-datetimepicker-active-bg;
                    border-top-color: $bs-datetimepicker-secondary-border-color-rgba;
                    position: absolute;
                    bottom: 4px;
                    right: 4px;
                }
            }

I noticed and fixed this in my pull request - https://github.com/Eonasdan/bootstrap-datetimepicker/pull/1752

Was this page helpful?
0 / 5 - 0 ratings