styles: fix lower opacity applied to menu when note locked

This commit is contained in:
Antonella Sgarlatta
2021-05-05 17:47:06 -03:00
parent ecd9dd4324
commit 33d4c7bcb8

View File

@@ -25,10 +25,11 @@
) )
| {{self.lockText}} | {{self.lockText}}
#editor-title-bar.section-title-bar.flex.items-center.justify-between.w-full( #editor-title-bar.section-title-bar.flex.items-center.justify-between.w-full(
ng-class="{'locked' : self.noteLocked}",
ng-show='self.note && !self.note.errorDecrypting' ng-show='self.note && !self.note.errorDecrypting'
) )
div.flex-grow div.flex-grow(
ng-class="{'locked' : self.noteLocked}"
)
.title .title
input#note-title-editor.input( input#note-title-editor.input(
ng-blur='self.onTitleBlur()', ng-blur='self.onTitleBlur()',
@@ -44,7 +45,6 @@
#note-tags-component-container(ng-if='self.state.tagsComponent && !self.note.errorDecrypting') #note-tags-component-container(ng-if='self.state.tagsComponent && !self.note.errorDecrypting')
component-view.component-view( component-view.component-view(
component-uuid='self.state.tagsComponent.uuid', component-uuid='self.state.tagsComponent.uuid',
ng-class="{'locked' : self.noteLocked}",
ng-style="self.notesLocked && {'pointer-events' : 'none'}", ng-style="self.notesLocked && {'pointer-events' : 'none'}",
application='self.application' application='self.application'
) )