]> git.ipfire.org Git - thirdparty/bulma.git/commit
Allow border radius if only one control in field
authorJoe Sweeney <joe.sweeney224@gmail.com>
Sun, 14 Oct 2018 07:22:41 +0000 (01:22 -0600)
committerJeremy Thomas <bbxdesign@gmail.com>
Sun, 28 Oct 2018 09:30:52 +0000 (09:30 +0000)
commit8355aa363cdd7ee7dc35a59a94edd4fbb69de839
tree3cfd2832082a5692083f55a0ef956fe789e0318d
parent14dac4c5629b58d38393823269250295ada0efcc
Allow border radius if only one control in field

If there is only one child inside a field with addons, the current first and last child selectors remove any radius. Since a single control would be both a first and last child at the same time, it gets canceled out. This leverages the :only-child property to not apply this rule if there is only one control.
sass/elements/form.sass