question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ticks at the left and right ends

See original GitHub issue

Is it possible to put the two ticks at the left and right ends at EXACTLY the two ends of the bar? By default the tick at the left end has some offset to the right side, and the tick on the right has some offset to the left side. I customized the CSS by:

.rzslider .rz-ticks .rz-tick {
  margin-left: 0px;
}

It removes the offset of the tick on left side, but the line of margin-right: 0px; doesn’t seem to affect the tick at the right end.

Thanks.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
mtlehtincommented, Jan 19, 2017

You can easily achieve this with CSS by reducing the bar width. And then adding left margin accordingly to that change. Needed width change depends on the handle size.

.rz-bar {
    width: calc(100% - 30px);
    margin-left: 15px;
 }
0reactions
ValentinHcommented, Jan 19, 2017

Great answer @mtlehtin .

Just to be sure that the new style is applied after the default ones:

.rzslider .rz-bar {
    width: calc(100% - 2 * 15px);
    margin-left: 15px;
 }
Read more comments on GitHub >

github_iconTop Results From Across the Web

Ticks - MN Dept. of Health
These ticks have been lined up next to the thumb so you can see their relative sizes. From left to right are the...
Read more >
How ticks spread disease | Ticks - CDC
Information on ticks and tickborne disease. ... While questing, ticks hold onto leaves and grass by their third and fourth pair of legs....
Read more >
How to Identify Tick Bites - IGeneX
See real pictures of what a tick bite looks like and what kind of rashes to look for if you think you or...
Read more >
Here's How to Tell If a Tick Head Is Still in Your Skin ...
Take a look at the area. The tick's head or mouthparts may be left in the skin. If you can see them, go...
Read more >
TICKS - Maine.gov
By the end of TICKS: KNOW YOUR ENEMY! you'll be able to: ... The ticks on the right are larger ... from left...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found