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

$size is not defined #12

Closed
ankitrg opened this issue Apr 12, 2017 · 4 comments
Closed

$size is not defined #12

ankitrg opened this issue Apr 12, 2017 · 4 comments
Labels

Comments

@ankitrg
Copy link

ankitrg commented Apr 12, 2017

I get the following error when I try to import buefy:

ERROR in .//css-loader?{"minimize":false}!.//postcss-loader!.//sass-loader/lib/loader.js!.//buefy/lib/buefy.css
Module build failed:
margin-left: -calc($size / 2px);
^
Undefined variable: "$size".
in /home/aks/playground/forme/node_modules/buefy/lib/buefy.css (line 7927, column 22)

@rafaberaldo
Copy link
Member

How exactly are you importing? Seems like you're importing the noncompiled style

@rafaberaldo
Copy link
Member

Actually, you're right, let me take a look

@rafaberaldo
Copy link
Member

OK, I found the error (have no idea how didn't catch this before), will update the package in about an hour.

@rafaberaldo
Copy link
Member

Package updated

kikuomax added a commit to kikuomax/buefy that referenced this issue Aug 2, 2023
* fix(lib): b-field-body wrapped text in b-field

- Fixes the bug that a horizontal `b-field-body` wrapped a simple text
  element with an extra `b-field`. It now returns a text element as is.

issue ntohq#5

* fix(lib): performance warning on FieldBody

- Removes a Vue runtime warning that indicated a potential performance
  issue related to how `FieldBody` gave the default slot to `Field`.
  Changes the third parameter of `h` function call to create a `Field`
  from a direct child `[element]` to a function slot `() => element`.

  This will address the issue pointed at in the comment:
  ntohq#1 (comment)

* fix(lib): remove unexpected tabindex (#9)

- Fixes the bug that `Table` ended up with `<table>` with an unexpected
  "tabindex" attribute. This bug was caused because Vue 3 no longer
  removes a boolean attribute if its value is "false". `Table` binds
  `undefined` instead of `false` to "tabindex" if `focusable` is `false`
  or not specified.

issue ntohq#8

* Publish Package @ntohq/buefy-next (#10)

* Removed CircleCi

* Created GitHub Action Workflow Files

* Added Workflow and Updated Package.json

* Update package.json (buefy#11)

* Update Package Name to `@ntohq/buefy-next` For Publishing to NPM (buefy#13)

* Update package.json

* Rename Package For Publishing to NPM

* Rename Package For Publishing to NPM

* Cleaned Up Workflow and Package.json

* Update package.json

---------

Co-authored-by: Kikuo Emoto <kemoto@codemonger.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants