Skip to content

Conversation

@chiraggmodi
Copy link
Contributor

@chiraggmodi chiraggmodi commented Jul 17, 2017

I have added $nav-link-padding in variables.scss. Fixes #23034.


.list-group-flush {
.list-group-item {
border-top: 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this change is unrelated.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes sorry for that, actually this is for another PR


// Navs

$nav-link-padding: .5rem !default;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would call this $navbar-link-padding and put with others navbar-* variables.
Also consider if split between x/y axis wouldn't be better

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes that would be better will update this changes are PR again.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have made your requested changes, but for navbar link variable i have splited in left/right instead of x/y as this are for left and right side not left/right and top/bottom.

@chiraggmodi
Copy link
Contributor Author

because if some folks wants to give different value then they can overwrite those variable.

@gijsbotje
Copy link
Contributor

I get that but then all the values with -x and -y would have to be changed to
I would suggest to leave this to the programmer to overwrite this in custom scss and just stick with -x

@chiraggmodi
Copy link
Contributor Author

have change $navbar-link-padding variable to $navbar-link-padding-x

@mdo
Copy link
Member

mdo commented Jan 3, 2018

This was superseded by #25117

@mdo mdo closed this Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants