Skip to content

Commit 3496072

Browse files
authored
docs: styling instructions rework
Reworded the styling instructions to make them clearer and fixed a broken blockcode.
1 parent 8e84d49 commit 3496072

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/Autocomplete/src/Resources/doc/index.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -166,29 +166,28 @@ Styling Tom Select
166166
------------------
167167

168168
In your ``assets/controllers.json`` file, you should see a line that automatically
169-
includes a CSS file for Tom Select.
169+
includes a CSS file for Tom Select which will give you basic styles.
170170

171171
.. code-block:: text
172172
173173
"autoimport": {
174174
"tom-select/dist/css/tom-select.default.css": true
175175
}
176176
177-
This should give you basic styles for Tom Select. If you're using
178-
Bootstrap, you can get Bootstrap-ready styling by (A) changing this
179-
line to ``false``:
177+
If you're using Bootstrap, you can get Bootstrap-ready styling by
178+
changing this line to ``false``:
180179

181180
.. code-block:: text
182181
183182
"autoimport": {
184183
"tom-select/dist/css/tom-select.default.css": false
185184
}
186185
187-
And then (B) importing the Bootstrap-css file:
186+
And then importing the Bootstrap CSS file:
188187

189-
.. code-bock:: css
188+
.. code-block:: css
190189
191-
/* assets/styles/app.css
190+
/* assets/styles/app.css */
192191
@import 'tom-select/dist/css/tom-select.bootstrap5.css';
193192
194193
To further customize things, you can override the classes with your own custom

0 commit comments

Comments
 (0)