Skip to content

Commit

Permalink
fix #349
Browse files Browse the repository at this point in the history
  • Loading branch information
oznu committed Aug 10, 2019
1 parent 0bf3139 commit 35bfe2a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ All notable changes to this project will be documented in this file. This projec
* **i18n:** The Restart Homebridge page is now translated again ([#342#issuecomment-519499941](https://github.com/oznu/homebridge-config-ui-x/issues/342#issuecomment-519499941))
* **Auth:** Disable auto-capitalization for username fields on mobile browsers ([#325](https://github.com/oznu/homebridge-config-ui-x/pull/325))
* **Accessory Control:** Fixed bug preventing switches correctly reflecting their state when on ([#343](https://github.com/oznu/homebridge-config-ui-x/pull/343))
* **Accessory Control:** Removed outline around modal close buttons ([#349](https://github.com/oznu/homebridge-config-ui-x/pull/349))
* Fixed a bug that prevented the UI automatically reloading after an update

### Other Changes
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "homebridge-config-ui-x",
"displayName": "Homebridge Config UI X",
"version": "4.6.0-beta.27",
"version": "4.6.0-beta.28",
"description": "A web based management, configuration and control platform for Homebridge",
"license": "MIT",
"author": "oznu <dev@oz.nu>",
Expand Down
4 changes: 2 additions & 2 deletions ui/src/app/core/directives/longclick.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export class LongClickDirective implements OnDestroy {
@HostListener('mouseup', ['$event'])
public onMouseUp(event: MouseEvent): void {
clearInterval(this.downTimeout);
event.preventDefault();
event.stopPropagation();
// event.preventDefault();
// event.stopPropagation();
if (!this.done) {
this.done = true;
this.shortclick.emit(event);
Expand Down
9 changes: 9 additions & 0 deletions ui/src/scss/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,15 @@ body {
}
}

/* Prevent outlines around the close button when a modal opens */
button {
&.close {
&:focus {
outline: none;
}
}
}

/* TOASTR BUGFIX */
/* https://github.com/scttcper/ngx-toastr/issues/605 */
#toast-container > div {
Expand Down

0 comments on commit 35bfe2a

Please sign in to comment.