Skip to content

Commit 4fef010

Browse files
committed
DOC-3147: Update split button notes to reflect structural changes.
1 parent 45eaf2a commit 4fef010

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

modules/ROOT/pages/creating-a-skin.adoc

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -68,29 +68,7 @@ _Do not edit these files directly_. Instead, use them as references when creatin
6868
6969
The typical workflow involves copying variables from the theme folder into the skins `skin.less` file and modifying them as needed.
7070
71-
NOTE: Split buttons use `.tox-split-button__main` and `.tox-split-button__chevron` CSS classes. If your skin targets split button components, you may need to update your CSS selectors.
72-
73-
.Example: Updating split button CSS selectors
74-
[source,css]
75-
----
76-
/* Before: targeting the composite split button */
77-
.tox-split-button {
78-
/* Previous styling approach */
79-
}
80-
81-
/* After: targeting individual components */
82-
.tox-split-button__main {
83-
/* Main button styling */
84-
background-color: #blue;
85-
border-radius: 4px 0 0 4px;
86-
}
87-
88-
.tox-split-button__chevron {
89-
/* Chevron button styling */
90-
background-color: #darkblue;
91-
border-radius: 0 4px 4px 0;
92-
}
93-
----
71+
NOTE: Split buttons have undergone structural changes in {productname} {productmajorversion}. Previously they used a single component structure, but now use separate components for the main button and chevron areas.
9472
====
9573

9674
[NOTE]

0 commit comments

Comments
 (0)