S
S
Sergey Bykovsky2018-02-14 02:08:26
css
Sergey Bykovsky, 2018-02-14 02:08:26

How to remove padding on the sides of text in a button using css?

It is necessary to remove the indents before and after the text in this particular button so that the text fits. So far, nothing is working. Perhaps because the button is affected by adjacent css styles. Which you don't want to change. You can't change the width and margin yet. Is there a way to remove these indents?5a836fe9bdb5b666873739.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2018-02-14
@gorodska3ka

Great question :-D
Can you at least style the button?
If there width is set strictly - reduce the font size.
If there is padding - play with it, but with padding - the second word would be transferred to the second line.

G
Gortyser, 2018-02-14
@Gortyser

Since the fortune-telling ball is not configured yet, I can assume that the block has a fixed width, and the text is cut off due to the text-overflow: ellipsis css property or some plugin with a similar action like trunk8.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question