mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 03:48:23 +00:00
removes select-box minWidth property
Using css offers more flexibility
This commit is contained in:
parent
ca58a8228c
commit
633d2fde45
@ -41,7 +41,6 @@ export default Ember.Component.extend({
|
||||
selectBoxHeaderComponent: "select-box/select-box-header",
|
||||
selectBoxCollectionComponent: "select-box/select-box-collection",
|
||||
|
||||
minWidth: 220,
|
||||
collectionHeight: 200,
|
||||
verticalOffset: 0,
|
||||
horizontalOffset: 0,
|
||||
@ -167,8 +166,6 @@ export default Ember.Component.extend({
|
||||
this._removeFixedPosition();
|
||||
}
|
||||
|
||||
this.$().css("min-width", this.get("minWidth"));
|
||||
|
||||
const computedWidth = this.$().outerWidth(false);
|
||||
const computedHeight = this.$().outerHeight(false);
|
||||
|
||||
|
@ -16,8 +16,6 @@ export default DropdownSelectBoxComponent.extend({
|
||||
showFullTitle: true,
|
||||
fullWidthOnMobile: true,
|
||||
|
||||
minWidth: "auto",
|
||||
|
||||
@on("init")
|
||||
_setInitialNotificationLevel() {
|
||||
this.set("value", this.get("topic.details.notification_level"));
|
||||
|
@ -9,6 +9,7 @@
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
height: 34px;
|
||||
min-width: 220px;
|
||||
|
||||
&.small {
|
||||
height: 28px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user