M
M
mishapsv2016-02-08 16:25:02
css
mishapsv, 2016-02-08 16:25:02

Is it possible in flexbox fd: column to set the width of the link to be equal to the width of the content?

I have a flexbox container with flex-direction: column . And it has a link. This link gets 100% width.
Is it possible to somehow make it clickable only in the text, without additional wrapping?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail, 2016-02-08
@mishapsv

You can add align-items to the parent, or align-self to the link itself, in your case this is: flex-start;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question