Skip to content

Commit

Permalink
Fix UI issues with calendar invites, #1355
Browse files Browse the repository at this point in the history
  • Loading branch information
charlag committed Aug 10, 2020
1 parent 319378a commit 1243215
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/calendar/CalendarEventEditDialog.js
Expand Up @@ -13,7 +13,7 @@ import {Icons} from "../gui/base/icons/Icons"
import type {CalendarEvent} from "../api/entities/tutanota/CalendarEvent"
import {downcast, memoized, noOp} from "../api/common/utils/Utils"
import type {ButtonAttrs} from "../gui/base/ButtonN"
import {ButtonN, ButtonType} from "../gui/base/ButtonN"
import {ButtonColors, ButtonN, ButtonType} from "../gui/base/ButtonN"
import type {CalendarAttendeeStatusEnum} from "../api/common/TutanotaConstants"
import {AlarmInterval, CalendarAttendeeStatus, EndType, Keys, RepeatPeriod} from "../api/common/TutanotaConstants"
import {findAndRemove, numberRange, remove} from "../api/common/utils/ArrayUtils"
Expand Down Expand Up @@ -109,6 +109,7 @@ export function showCalendarEventDialog(date: Date, calendars: Map<Id, CalendarI
isSelected: () => editorOptions.enabled,
noBubble: true,
type: ButtonType.Toggle,
colors: ButtonColors.Elevated,
})
)
.setMinHeight(400)
Expand Down
2 changes: 1 addition & 1 deletion src/calendar/CalendarEventPopup.js
Expand Up @@ -44,7 +44,7 @@ export class CalendarEventPopup implements ModalComponent {
}

view(vnode: Vnode<any>) {
return m(".abs.content-bg.plr.border-radius.dropdown-shadow", {
return m(".abs.elevated-bg.plr.border-radius.dropdown-shadow", {
style: {
width: px(Math.min(window.innerWidth, 400)),
opacity: "0", // see hack description below
Expand Down

0 comments on commit 1243215

Please sign in to comment.