Skip to content

Commit

Permalink
feat(Assistant): Simplify Dialog style
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Oct 14, 2024
1 parent a5264fd commit 1bc7f0d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions src/assistant/AssistantDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import ConversationSearchBar from './Conversations/ConversationSearchBar'
import AssistantProvider, { useAssistant } from './AssistantProvider'
import SearchProvider from './SearchProvider'

import styles from './styles.styl'

const AssistantDialog = ({ onClose }) => {
const { assistantState } = useAssistant()
const { isMobile } = useBreakpoints()
Expand All @@ -19,7 +17,6 @@ const AssistantDialog = ({ onClose }) => {
open
fullScreen
size="full"
className={styles['assistantDialog']}
componentsProps={{
dialogTitle: { className: isMobile ? 'u-ph-0' : '' },
dialogActions: { className: isMobile ? 'u-mh-half' : 'u-mb-2' },
Expand Down
5 changes: 0 additions & 5 deletions src/assistant/styles.styl
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,3 @@

&--immersive
padding-bottom calc(1rem + var(--flagship-bottom-height))

// should be in coz-ui for FixedDialog
.assistantDialog
hr
display none

0 comments on commit 1bc7f0d

Please sign in to comment.