فهرست منبع

💄 style(SettingsPanel): Select componet style adjustments

Apple\Apple 9 ماه پیش
والد
کامیت
d534d4575d
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      web/src/components/playground/SettingsPanel.js

+ 3 - 0
web/src/components/playground/SettingsPanel.js

@@ -130,6 +130,7 @@ const SettingsPanel = ({
             optionList={groups}
             optionList={groups}
             renderOptionItem={renderGroupOption}
             renderOptionItem={renderGroupOption}
             style={{ width: '100%' }}
             style={{ width: '100%' }}
+            dropdownStyle={{ width: '100%', maxWidth: '100%' }}
             className="!rounded-lg"
             className="!rounded-lg"
             disabled={customRequestMode}
             disabled={customRequestMode}
           />
           />
@@ -159,6 +160,8 @@ const SettingsPanel = ({
             value={inputs.model}
             value={inputs.model}
             autoComplete='new-password'
             autoComplete='new-password'
             optionList={models}
             optionList={models}
+            style={{ width: '100%' }}
+            dropdownStyle={{ width: '100%', maxWidth: '100%' }}
             className="!rounded-lg"
             className="!rounded-lg"
             disabled={customRequestMode}
             disabled={customRequestMode}
           />
           />