How do i change the column width of the column line number?
Column.label = ? for column line number.
You would need to write a custom theme.
yes ok
but what is the column.label for column line number
{%if column.label == “#” %}; width: 20px {% endif %}
i wrote this code, but it didnt work
First, you need to add that logic into two lines:
- Line 41
- Line 49
Note that I am using the line numbers in the plain theme, your theme lines could be different.
Second, in both of these lines there’s this statement:
{% if column.nowrap %}; width: 80px{% endif %}
You need to make sure that that doesn’t override your logic.