Adjust margin styles for highlight tabs and color container in TextSetting component

This commit is contained in:
troyeguo committed 2026-07-21 20:41:44 +08:00
1 parent 5872c10793
commit a4c96aae09
2 files changed
+3 -3

No files matched your search

+1 -1
View File
File diff suppressed because one or more lines are too long.
@@ -334,7 +334,7 @@ class TextSetting extends React.Component<TextSettingProps, TextSettingState> {
</div>
<ul
className="tts-highlight-style-tabs"
style={{ marginLeft: "0", marginTop: "8px" }}
style={{ marginLeft: "-10px", marginTop: "8px" }}
>
{HIGHLIGHT_STYLE_TYPES.map(
(item: { value: string; label: string }) => {
@@ -377,7 +377,7 @@ class TextSetting extends React.Component<TextSettingProps, TextSettingState> {
</ul>
<ul
className="tts-highlight-color-container"
style={{ marginLeft: "0" }}
style={{ marginLeft: "10px" }}
>
{presetColors.map((color: string, index: number) => (
<li