mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #7788 from guerler/fix_radio_button
Disable flexible spreading of radio buttons by default
This commit is contained in:
@@ -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");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user