Skip to content

Commit

Permalink
change(button): basic button is again without padding, border and bac…
Browse files Browse the repository at this point in the history
…kground

- Although this is wrong and Volto should have used the basic icon params
  in order to have this rule, there are too many places where this is used
  as such so in order to preserve backward compatibility I am returning this
  css rule
  • Loading branch information
ichim-david committed Apr 8, 2022
1 parent c2f3ea3 commit 5a907c7
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions theme/themes/eea/elements/button.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@
}
}

//.ui.basic.button {
// padding: 0;
// border: 0;
// background: transparent;
// cursor: pointer;
// text-align: initial;
//
// &:focus {
// outline: none;
// }
//}
.ui.basic.button {
padding: 0;
border: 0;
background: transparent;
cursor: pointer;
text-align: initial;

&:focus {
outline: none;
}
}

.ui.basic.primary.button,
.ui.basic.secondary.button {
Expand Down Expand Up @@ -92,6 +92,7 @@
// bg or border
.ui.basic.icon.button {
box-shadow: none !important;
padding: 0;
}

// toolbar yes and cancel icons go outside the button area with default line
Expand Down

0 comments on commit 5a907c7

Please sign in to comment.