Skip to content

Commit ba5c983

Browse files
author
ci-bot
committed
fix borders in menus
1 parent ae795c7 commit ba5c983

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

libs/remix-ui/remix-ai-assistant/src/components/contextOptMenu.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export interface GroupListMenuProps {
66
choice: AiContextType | AiAssistantType | any
77
setShowOptions: Dispatch<React.SetStateAction<boolean>>
88
groupList: groupListType[]
9-
themeTracker?: any
109
}
1110

1211
export default function GroupListMenu(props: GroupListMenuProps) {
@@ -16,7 +15,7 @@ export default function GroupListMenu(props: GroupListMenuProps) {
1615
{props.groupList.map((item, index) => (
1716
<button
1817
key={`${item.label}-${index}`}
19-
className={`btn btn-light ${props.themeTracker?.name === 'Dark' ? 'border border-dark' : ''}`}
18+
className={`btn btn-light border border-0`}
2019
data-id={item.dataId}
2120
onClick={() => {
2221
props.setChoice(item.stateValue)

libs/remix-ui/remix-ai-assistant/src/components/remix-ui-remix-ai-assistant.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,6 @@ export const RemixUiRemixAiAssistant = React.forwardRef<
715715
setChoice={handleModelSelection}
716716
setShowOptions={setShowModelOptions}
717717
choice={selectedModel}
718-
themeTracker={themeTracker}
719718
groupList={availableModels.map(model => ({
720719
label: model,
721720
bodyText: `Use ${model} model`,

0 commit comments

Comments
 (0)