diff --git a/ts/Manager/App.scss b/ts/Manager/App.scss index 96ff82d..e1f19ce 100644 --- a/ts/Manager/App.scss +++ b/ts/Manager/App.scss @@ -161,8 +161,23 @@ pre { .bbb-shrink { width: 44px; white-space: nowrap; - } + input[type="checkbox"]{ + + &+label:before { + border-radius: 3px; + border-width: 2px; + } + + &:disabled+label:before { + opacity: .5; + } + + &:not(input:checked):disabled+label:before { + background-color: transparent !important; + } + } + } th { padding: 14px 6px; diff --git a/ts/Manager/RoomRow.tsx b/ts/Manager/RoomRow.tsx index 721a7f4..5b3aa36 100644 --- a/ts/Manager/RoomRow.tsx +++ b/ts/Manager/RoomRow.tsx @@ -194,15 +194,7 @@ const RoomRow: React.FC = (props) => { return ; } -<<<<<<< HEAD -<<<<<<< HEAD - function edit(field: string, type: 'text' | 'number' = 'text', canEdit = true, options?) { -======= function edit(field: string, type: 'text' | 'number' = 'text', canEdit: boolean = true, options?) { ->>>>>>> 63daf83 (feat: manage view of rooms for moderators and users) -======= - function edit(field: string, type: 'text' | 'number' = 'text', canEdit = true, options?) { ->>>>>>> 82951e9 (feat: sharing rooms with moderators and users) return canEdit ? : @@ -261,17 +253,10 @@ const RoomRow: React.FC = (props) => { {edit('maxParticipants', 'number', adminRoom, {min: minParticipantsLimit, max: maxParticipantsLimit < 0 ? undefined : maxParticipantsLimit})} - {adminRoom && - updateRoom('record', event.target.checked)} /> + updateRoom('record', event.target.checked)} /> - } - {!adminRoom && - - - - } {}