Skip to content

Commit 8a2c6b0

Browse files
committed
fix menu style
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent c0b12e1 commit 8a2c6b0

1 file changed

Lines changed: 22 additions & 23 deletions

File tree

ui/src/views/compute/wizard/DeployButtons.vue

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -94,37 +94,36 @@ export default {
9494

9595
<style lang="less" scoped>
9696
97-
.button-container {
98-
display: flex;
99-
flex-wrap: wrap;
100-
gap: 10px;
101-
justify-content: flex-start;
102-
}
103-
104-
.equal-size-button {
105-
flex-grow: 1; /* Make each button grow equally */
106-
min-width: 120px; /* Set a minimum width so that the buttons don't shrink too much */
107-
}
108-
109-
@media (max-width: 600px) {
11097
.button-container {
111-
flex-direction: column;
98+
display: flex;
99+
flex-wrap: wrap;
100+
gap: 10px;
101+
justify-content: flex-start;
112102
}
113103
114-
}
104+
.equal-size-button {
105+
flex-grow: 1; /* Make each button grow equally */
106+
min-width: 120px; /* Set a minimum width so that the buttons don't shrink too much */
107+
}
115108
116-
.btn-stay-on-page {
117-
&.ant-dropdown-menu-dark {
118-
.ant-dropdown-menu-item:hover {
119-
background: transparent !important;
109+
@media (max-width: 600px) {
110+
.button-container {
111+
flex-direction: column;
120112
}
121113
}
122-
}
123114
</style>
124115

125116
<style lang="less">
126117
127-
.ant-btn-group > .ant-btn:first-child:not(:last-child) {
128-
flex-grow: 1; /* Make each button grow equally */
129-
}
118+
.btn-stay-on-page {
119+
&.ant-dropdown-menu-dark {
120+
.ant-dropdown-menu-item:hover {
121+
background: transparent !important;
122+
}
123+
}
124+
}
125+
126+
.ant-btn-group > .ant-btn:first-child:not(:last-child) {
127+
flex-grow: 1; /* Make each button grow equally */
128+
}
130129
</style>

0 commit comments

Comments
 (0)