Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a less variable to opt out of form item colons #5855

Merged
merged 1 commit into from
Apr 22, 2017

Conversation

megawac
Copy link
Contributor

@megawac megawac commented Apr 21, 2017

Colons disabled (@form-item-trailing-colon: false):

image

Colons enabled (@form-item-trailing-colon: true):

image

Our designer wanted to opt out of manadatory colons here

@mention-bot
Copy link

@megawac, thanks for your PR! By analyzing the history of the files in this pull request, we identified @afc163, @simaQ and @benjycui to be potential reviewers.

@codecov
Copy link

codecov bot commented Apr 21, 2017

Codecov Report

Merging #5855 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5855   +/-   ##
=======================================
  Coverage   86.82%   86.82%           
=======================================
  Files         183      183           
  Lines        4560     4560           
  Branches     1323     1323           
=======================================
  Hits         3959     3959           
  Misses        601      601

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 455a23f...297412b. Read the comment docs.

@@ -194,6 +194,7 @@
@label-required-color : @highlight-color;
@label-color : @text-color;
@form-item-margin-bottom : 24px;
@form-item-trailing-colon : false;
Copy link
Member

Choose a reason for hiding this comment

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

I think this should default to true ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Whoops thanks, didnt mean to commit it as false

@plandem
Copy link
Contributor

plandem commented Apr 21, 2017

I also remove colons

@afc163 afc163 merged commit aa0c29d into ant-design:master Apr 22, 2017
@megawac megawac deleted the optional-form-colon branch April 24, 2017 14:44
@lock
Copy link

lock bot commented May 1, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked and limited conversation to collaborators May 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants