| } | } | ||||
| } | } | ||||
| &:last-child { | &:last-child { | ||||
| margin-right: 0px !important; | |||||
| margin-right: 0 !important; | |||||
| } | } | ||||
| } | } | ||||
| } | } |
| let width = 80 | let width = 80 | ||||
| let rightMargin = 5 | let rightMargin = 5 | ||||
| if (self._cache.length > 0) { | if (self._cache.length > 0) { | ||||
| width = self._cache.length * (width+rightMargin) - rightMargin | |||||
| width = self._cache.length * (width + rightMargin) - rightMargin | |||||
| } | } | ||||
| this._wrapper.style.width = `${width}px` | this._wrapper.style.width = `${width}px` | ||||
| } | } |