Merge pull request #7788 from guerler/fix_radio_button

Disable flexible spreading of radio buttons by default
This commit is contained in:
Dannon
2019-04-22 09:57:26 -04:00
committed by GitHub
2 changed files with 10 additions and 4 deletions
+4 -4
View File
@@ -38,9 +38,9 @@ var Base = Backbone.View.extend({
.removeClass()
.addClass("ui-options")
.addClass(this.model.get("cls"))
.append((this.$message = $("<div/>").addClass("mt-2")))
.append((this.$menu = $("<div/>").addClass("ui-options-menu")))
.append((this.$options = $(this._template())));
.append(this.$message = $("<div/>").addClass("mt-2"))
.append(this.$menu = $("<div/>").addClass("ui-options-menu"))
.append(this.$options = $(this._template()));
// add select/unselect all button
this.all_button = null;
@@ -298,7 +298,7 @@ RadioButton.View = Base.extend({
/** Main template function */
_template: function() {
return $("<div/>").addClass("btn-group ui-radiobutton d-flex");
return $("<div/>").addClass("btn-group ui-radiobutton");
}
});
+6
View File
@@ -452,6 +452,12 @@ $ui-margin-horizontal-large: $margin-v * 2;
}
}
.ui-select-content {
.btn-group {
@extend .d-flex;
}
}
.ui-dragover {
border-radius: 3px;
border: 2px solid $table-border-color;