Skip to content

Commit

Permalink
[FIX] web: correct style on btn-link class
Browse files Browse the repository at this point in the history
Due to the switch from less to scss, changes were made. Especially, the
class oe_link is now 'deprecated' and interpreted as 'btn-link'. The
previous style defined on the latter removed the padding which breaks
the style when several buttons follow each other.

This commit commit should fix the style while maintaining the intended
behaviour, a vertical alignement between the button and the text inside
the pane.
  • Loading branch information
rrahir committed May 24, 2018
1 parent 683b432 commit d3d3425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/web/static/src/scss/form_view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -733,8 +733,8 @@ label.o_light_label, .o_light_label label {
.o_field_widget {
width: 50%;
}
button.btn-link {
padding: 0;
button.btn-link:first-child {
padding-left: 0;
}
a.oe-link {
font-size: 12px;
Expand Down

0 comments on commit d3d3425

Please sign in to comment.