Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mikey's zIndex fix #464

Merged
merged 2 commits into from
Jan 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/views/email-exchange/administration/ContactsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { faUser, faBars } from '@fortawesome/free-solid-svg-icons'
import { Link } from 'react-router-dom'

const dropdown = (row, rowIndex, formatExtraData) => (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
Expand Down
4 changes: 2 additions & 2 deletions src/views/email-exchange/administration/MailboxesList.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import { faUser, faCog, faBars } from '@fortawesome/free-solid-svg-icons'
import { Link } from 'react-router-dom'

const dropdown = (row, rowIndex, formatExtraData) => (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">
<Link
className="dropdown-item"
Expand Down
4 changes: 2 additions & 2 deletions src/views/email-exchange/administration/ViewMobileDevices.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import { faUser, faBars } from '@fortawesome/free-solid-svg-icons'
import { Link } from 'react-router-dom'

const dropdown = (row, rowIndex, formatExtraData) => (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">
<Link className="dropdown-item" to={`/email/administration/edit-contact`}>
<FontAwesomeIcon icon={faUser} className="me-2" />
Expand Down
4 changes: 2 additions & 2 deletions src/views/endpoint/MEM/MEMListPolicies.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'

const dropdown = (row, rowIndex, formatExtraData) => {
return (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">
<Link className="dropdown-item" to={`/endpoint/MEM/edit-policy`}>
<FontAwesomeIcon icon={faUser} className="me-2" />
Expand Down
4 changes: 2 additions & 2 deletions src/views/endpoint/MEM/MEMListPolicyTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'

const dropdown = (row, index, column) => {
return (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" variant="ghost" color="primary">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">Delete Template</CDropdownItem>
</CDropdownMenu>
</CDropdown>
Expand Down
4 changes: 2 additions & 2 deletions src/views/endpoint/applications/ApplicationsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'

const dropdown = (row, rowIndex, formatExtraData) => {
return (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">
<Link className="dropdown-item" to={`/endpoint/MEM/EditMEMApplication`}>
<FontAwesomeIcon icon={faUser} className="me-2" />
Expand Down
4 changes: 2 additions & 2 deletions src/views/endpoint/autopilot/AutopilotListDevices.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'

const dropdown = (row, rowIndex, formatExtraData) => {
return (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">Delete Device</CDropdownItem>
</CDropdownMenu>
</CDropdown>
Expand Down
4 changes: 2 additions & 2 deletions src/views/endpoint/autopilot/AutopilotListProfiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'

const dropdown = (row, rowIndex, formatExtraData) => {
return (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">
<Link className="dropdown-item" to={`/endpoint/autopilot/AutopilotEditProfile}`}>
<FontAwesomeIcon icon={faUser} className="me-2" />
Expand Down
4 changes: 2 additions & 2 deletions src/views/endpoint/autopilot/AutopilotListStatusPages.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'

const dropdown = (row, rowIndex, formatExtraData) => {
return (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">
<Link className="dropdown-item" to={`/endpoint/autopilot/AutopilotEditStatusPage}`}>
<FontAwesomeIcon icon={faUser} className="me-2" />
Expand Down
4 changes: 2 additions & 2 deletions src/views/endpoint/defender/ListDefender.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import { cellBooleanFormatter } from '../../../components/cipp'

const dropdown = (row, rowIndex, formatExtraData) => {
return (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">View Device</CDropdownItem>
<CDropdownItem href="#">Execute Quick Scan</CDropdownItem>
<CDropdownItem href="#">Execute Full Scan</CDropdownItem>
Expand Down
4 changes: 2 additions & 2 deletions src/views/identity/administration/Groups.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import { Link } from 'react-router-dom'

const dropdown = (row = {}) => {
return (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">
<Link
className="dropdown-item"
Expand Down
4 changes: 2 additions & 2 deletions src/views/identity/administration/Roles.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ import { faUser, faCog, faBars } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
const dropdown = (row, index, column) => {
return (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">Edit Group</CDropdownItem>
</CDropdownMenu>
</CDropdown>
Expand Down
4 changes: 2 additions & 2 deletions src/views/identity/administration/Users.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ const Dropdown = (row, rowIndex, formatExtraData) => {
}

return (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">
<Link
className="dropdown-item"
Expand Down
4 changes: 2 additions & 2 deletions src/views/teams-share/onedrive/OneDriveList.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'

const dropdown = (row, rowIndex, formatExtraData) => {
return (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">
<Link
className="dropdown-item"
Expand Down
4 changes: 2 additions & 2 deletions src/views/teams-share/sharepoint/SharepointList.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'

const dropdown = (row, rowIndex, formatExtraData) => {
return (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">
<Link className="dropdown-item" to={`/identity/administration/EditGroup}`}>
<FontAwesomeIcon icon={faCog} className="me-2" />
Expand Down
4 changes: 2 additions & 2 deletions src/views/teams-share/teams/BusinessVoice.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import {
} from '@coreui/react'

const dropdown = (row, rowIndex, formatExtraData) => (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">
<Link className="dropdown-item" to={`/teams-share/teams/view-team-settings}`}>
<FontAwesomeIcon icon={faCog} className="me-2" />
Expand Down
4 changes: 2 additions & 2 deletions src/views/teams-share/teams/TeamsActivity.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'

const dropdown = (row, index, column) => {
return (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">Edit Group</CDropdownItem>
</CDropdownMenu>
</CDropdown>
Expand Down
4 changes: 2 additions & 2 deletions src/views/teams-share/teams/TeamsListTeam.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { Link } from 'react-router-dom'

const dropdown = (row, rowIndex, formatExtraData) => (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">
<Link className="dropdown-item" to={`/teams-share/teams/view-team-settings}`}>
<FontAwesomeIcon icon={faCog} className="me-2" />
Expand Down
4 changes: 2 additions & 2 deletions src/views/tenant/administration/Tenants.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import { faCog, faBars } from '@fortawesome/free-solid-svg-icons'

const dropdown = (row, index, column) => {
return (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">
<Link
className="dropdown-item"
Expand Down
4 changes: 2 additions & 2 deletions src/views/tenant/standards/ListAppliedStandards.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'

const dropdown = (row, index, column) => {
return (
<CDropdown style={{ position: 'fixed', zIndex: 1000 }}>
<CDropdown>
<CDropdownToggle size="sm" color="link">
<FontAwesomeIcon icon={faBars} />
</CDropdownToggle>
<CDropdownMenu>
<CDropdownMenu style={{ position: 'fixed', right: 0, zIndex: 1000 }}>
<CDropdownItem href="#">Delete Stnadard</CDropdownItem>
</CDropdownMenu>
</CDropdown>
Expand Down