Skip to content
Snippets Groups Projects
Commit a76bb984 authored by rhenck's avatar rhenck
Browse files

[editor] Improve child element selection style

Use a border with border-radius set to make it look nicer.
parent eb7dd59e
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,8 @@ import { ElementComponent } from '../element-component.directive';
@Component({
selector: 'app-compound-child-overlay',
template: `
<div [style.outline]="isSelected ? 'purple solid 1px' : ''"
<div [style.border]="isSelected ? 'purple solid 1px' : ''"
[style.border-radius.px]="3"
(click)="elementSelected.emit(this); $event.stopPropagation();">
<app-toggle-button *ngIf="element.type === 'toggle-button'" #childComponent
[style.pointer-events]="editorMode ? 'none' : 'auto'"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment