File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
packages/core/src/login/webview/vue Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 110
110
@toggle =" toggleItemSelection"
111
111
:isSelected =" selectedLoginOption === LoginOption.ENTERPRISE_SSO"
112
112
:itemId =" LoginOption.ENTERPRISE_SSO"
113
- :itemText =" 'Sign in to AWS with single sign-on '"
114
- :itemTitle =" 'Use Professional License '"
113
+ :itemText =" ''"
114
+ :itemTitle =" 'Use with Pro license '"
115
115
class =" selectable-item bottomMargin"
116
116
></SelectableItem >
117
117
<SelectableItem
Original file line number Diff line number Diff line change 23
23
/>
24
24
</svg >
25
25
<svg
26
- v-if =" itemTitle == 'Workforce' || itemTitle == 'Use Professional License '"
26
+ v-if =" itemTitle == 'Workforce' || itemTitle == 'Use with Pro license '"
27
27
width =" 16"
28
28
height =" 16"
29
29
viewBox =" 0 0 16 16"
55
55
</div >
56
56
<div class =" text" >
57
57
<div class =" title" >{{ itemTitle }}</div >
58
- <div class =" p" >{{ itemText }}</div >
58
+ <div class =" p" v-if = " itemText " >{{ itemText }}</div >
59
59
</div >
60
60
</div >
61
61
</template >
@@ -96,12 +96,13 @@ export default defineComponent({
96
96
97
97
<style scoped>
98
98
.item-container-base {
99
- padding : 5px ;
100
99
display : flex ;
101
100
border-width : 1px ;
102
101
border-style : solid ;
103
102
border-color : #625f5f ;
104
103
user-select : none ;
104
+ /* Some items do not have itemText, so we need a consistent height for all items */
105
+ height : 50px ;
105
106
}
106
107
107
108
.hovering {
@@ -121,6 +122,7 @@ export default defineComponent({
121
122
display : flex ;
122
123
flex-direction : column ;
123
124
font-size : 12px ;
125
+ justify-content : center ;
124
126
}
125
127
126
128
.text.vscode-dark {
You can’t perform that action at this time.
0 commit comments