Skip to content

Commit 6627127

Browse files
committed
Header icons fixes
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
1 parent 98371eb commit 6627127

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

css/ContactDetails.scss

+7-11
Original file line numberDiff line numberDiff line change
@@ -71,22 +71,18 @@
7171
position: relative;
7272
height: 44px;
7373
width: 44px;
74+
}
75+
.header-icon {
76+
height: 44px;
77+
width: 44px;
78+
padding: 14px;
7479
border-radius: 22px;
75-
&.menu-icon--pulse {
80+
cursor: pointer;
81+
&.header-icon--pulse {
7682
margin: 8px;
7783
width: 16px;
7884
height: 16px;
7985
}
80-
81-
&[class^='icon-'],
82-
&[class*=' icon-'],
83-
> [class^='icon-'],
84-
> [class*=' icon-'] {
85-
height: 44px;
86-
width: 44px;
87-
padding: 14px;
88-
cursor: pointer;
89-
}
9086
}
9187
}
9288
}

src/components/ContactDetails.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@
6767

6868
<!-- actions -->
6969
<div id="contact-header-actions">
70-
<div v-tooltip.bottom="warning" :class="{'icon-loading-small': loadingUpdate, 'menu-icon--pulse icon-error-white': warning}" class="menu-icon" />
70+
<div v-tooltip.bottom="warning" :class="{'icon-loading-small': loadingUpdate, 'header-icon--pulse icon-error-white': warning}" class="header-icon" />
7171
<div v-tooltip="{
7272
content: conflict,
7373
show: true,
7474
trigger: 'manual',
75-
}" v-if="conflict" class="menu-icon menu-icon--pulse icon-history-white"
75+
}" v-if="conflict" class="header-icon header-icon--pulse icon-history-white"
7676
@click="refreshContact" />
7777
<div class="menu-icon">
78-
<div v-click-outside="closeMenu" class="icon-more-white" @click="toggleMenu" />
78+
<div v-click-outside="closeMenu" class="header-icon icon-more-white" @click="toggleMenu" />
7979
<div :class="{ 'open': openedMenu }" class="popovermenu">
8080
<popover-menu :menu="contactActions" />
8181
</div>

src/views/Contacts.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export default {
111111
},
112112
// first enabled addressbook of the list
113113
defaultAddressbook() {
114-
return this.addressbooks.find(addressbook => addressbook.readOnly !== false)
114+
return this.addressbooks.find(addressbook => !addressbook.readOnly)
115115
},
116116

117117
/**

0 commit comments

Comments
 (0)