Skip to content

Instantly share code, notes, and snippets.

@spencerfinnell
Last active June 19, 2018 16:11
Show Gist options
  • Save spencerfinnell/52f9782cad2b76f88d5bfce5ba951a90 to your computer and use it in GitHub Desktop.
Save spencerfinnell/52f9782cad2b76f88d5bfce5ba951a90 to your computer and use it in GitHub Desktop.
.edit-post-visual-editor {
.button,
.plugin-block__button,
.pluginB_Block--button,
.plugin_c_button,
.plugin-d-block-button a {
// Attempt to reset some global styles that can't be dequeued.
background: none;
border: 0;
@include button();
}
// This plugin actually adds an extra <span> tag.
.plugin-e-block-button span {
@include button();
}
// This plugin applies alignment classes to the wrapper <div>.
.plugin_c_button {
.alignwide & {
}
}
// This plugin applies alignment classes to the <a> tag.
.plugin-block__button.alignwide {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment