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

Changing class names for toolbar plugin. #156

Merged
merged 3 commits into from
Mar 15, 2023
Merged

Conversation

asith-w
Copy link
Contributor

@asith-w asith-w commented Mar 6, 2023

changed class names of toolbar plugin to avoid conflicting with other libraries

changed class names of toolbar plugin to avoid conflicting with other libraries
@asith-w asith-w changed the title changed class names of toolbar plugin. Changing class names for toolbar plugin. Mar 6, 2023
@@ -10,7 +10,7 @@ const createButton = (id, name) => {
}

function createToolBarRBContainer(mind) {
const toolBarRBContainer = document.createElement('toolbar')
const toolBarRBContainer = document.createElement('mindElixirToolbar')
Copy link
Owner

Choose a reason for hiding this comment

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

Now I think it's better to create a div with class mind-elixir-toolbar rb and mind-elixir-toolbar lt,
Then we can use .mind-elixir-toolbar and .mind-elixir-toolbar.rb to style it. how do you think? 😂

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated the styles

Converted toolbar to div element
Added class 'mind-elixir-toolbar'
@SSShooter SSShooter merged commit d68c681 into SSShooter:master Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants