prismjs highlighted code numbers look bad #204

Open
opened 2019-06-06 15:42:38 +00:00 by gnuget · 7 comments
gnuget commented 2019-06-06 15:42:38 +00:00 (Migrated from gitlab.com)

It seems that we have a number class on our site which is used by prism as well making it look weird.

It is necessary to add CSS to avoid apply styles to the number class if it is inside a code tag.

Screen_Shot_2019-06-06_at_10.41.12_AM

It seems that we have a `number` class on our site which is used by `prism` as well making it look weird. It is necessary to add CSS to avoid apply styles to the `number` class if it is inside a `code` tag. ![Screen_Shot_2019-06-06_at_10.41.12_AM](/uploads/9ccebff63af8ce213a2b66e9295979f8/Screen_Shot_2019-06-06_at_10.41.12_AM.png)
gnuget commented 2019-06-06 15:43:22 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
mlncn commented 2019-06-06 15:44:13 +00:00 (Migrated from gitlab.com)

'number' does not appear in our custom Sass (web/themes/custom/agarica/patternlibrary/agaric/sass/). So our first step is figuring out where it's coming from.

'number' does not appear in our custom Sass (web/themes/custom/agarica/patternlibrary/agaric/sass/). So our first step is figuring out where it's coming from.
mlncn commented 2019-06-06 15:44:53 +00:00 (Migrated from gitlab.com)

@gnuget Bulma is to blame! node_modules/bulma/sass/elements/other.sass

@gnuget Bulma is to blame! `node_modules/bulma/sass/elements/other.sass`
mlncn commented 2019-06-06 15:49:58 +00:00 (Migrated from gitlab.com)

@gnuget Can we avoid using the number class ourselves by telling prism to do something else, and leave 'number' to bulma?

Or vice versa.

A-hmm: https://github.com/jgthms/bulma/issues/1708

@gnuget Can we avoid using the number class ourselves by telling prism to do something else, and leave 'number' to bulma? Or vice versa. A-hmm: https://github.com/jgthms/bulma/issues/1708
mlncn commented 2019-06-06 15:53:13 +00:00 (Migrated from gitlab.com)

Seems it can be fixed either way; i'm helping Mauricio train so leaving this to David.

Seems it can be fixed either way; i'm helping Mauricio train so leaving this to David.
mlncn commented 2019-06-06 15:53:13 +00:00 (Migrated from gitlab.com)

assigned to @gnuget

assigned to @gnuget
cedewey commented 2020-04-13 14:44:42 +00:00 (Migrated from gitlab.com)

unassigned @gnuget

unassigned @gnuget
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: agaric/agaric-coop#204
No description provided.