Skip to content

Commit 9d9a32d

Browse files
xrutayisireclaude
andauthored
fix(style): remove redundant padding-right on custom select content (#91)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 8ed4d02 commit 9d9a32d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/styles.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,10 @@ div.react-js-cron-error div.react-js-cron-custom-select {
3838
background: #fff6f6;
3939
}
4040
/* antd v6: .ant-select-content replaces .ant-select-selector */
41+
/* In antd v6 the suffix arrow is a flex sibling, so padding-right is no longer needed */
4142
div.react-js-cron-select.react-js-cron-custom-select.ant-select
4243
div.ant-select-content {
4344
padding-left: 11px;
44-
padding-right: 30px;
45-
}
46-
.react-js-cron-read-only
47-
div.react-js-cron-select.react-js-cron-custom-select.ant-select
48-
div.ant-select-content {
49-
padding-right: 11px;
5045
}
5146
/* antd v6: prevent selected value text from wrapping */
5247
div.react-js-cron-custom-select .ant-select-content-item {

0 commit comments

Comments
 (0)