Skip to content

Commit 7b1f39e

Browse files
committed
fix(IconDropdown): scope styles for icon selection and adjust margin for consistency
1 parent aec74e6 commit 7b1f39e

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

resources/js/components/shared/IconDropdown.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export default {
134134
};
135135
</script>
136136

137-
<style lang="scss">
137+
<style lang="scss" scoped>
138138
$iconSize: 19px;
139139
$multiselect-height: 33px;
140140
@@ -223,7 +223,7 @@ $multiselect-height: 33px;
223223
.icon-selected {
224224
width: 19px;
225225
height: 19px;
226-
margin-top: -4px;
226+
margin-top: 0;
227227
}
228228
229229
.icon-squares {

resources/js/components/shared/LaunchpadSettingsModal.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,11 +1275,7 @@ label {
12751275
text-align: left;
12761276
}
12771277
}
1278-
.multiselect-icons.custom-multiselect {
1279-
.icon-selected {
1280-
margin-top: 0;
1281-
}
1282-
}
1278+
12831279
.modal-content-custom .column-container {
12841280
overflow-y: auto;
12851281
}

0 commit comments

Comments
 (0)