hluk / hluk/CopyQ

tab-size css property not working

Open
#2,360 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
12.3k
Forks
593
Avg merge
2d 8h
Merged PRs (30d)
9

Description

Before creating a new issue, see list of [known
issues](https://copyq.readthedocs.io/en/latest/known-issues.html).
- OK

**Describe the bug**
TAB characters in the text that are copied to clipboard are rendered as 8 spaces by default. This behavior should be customizable using "tab-size" CSS property, but it doesn't work. None of the CSS settings in the theme.ini file works. Editing the items.css doesn't work either.

**To Reproduce**
1. Open Preferences and go to Appearance
2. Click Edit Theme button
3. Find the line which starts with **item_css=** and change it as;
```
item_css="
;tab-size:4"
```
4. Save and close the editor.
5. Click Apply button.

**Expected behavior**
Width of TABs should be 4 characters instead of 8

**Screenshots**
- none

**Version, OS and Environment**
- CopyQ 7.0.0
- Windows 10

**Additional context**
- none

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.