@@ -86,45 +86,44 @@ export default {
8686 this .$emit (' handle-deploy' , e)
8787 },
8888 handleMenu (e ) {
89- this .$emit (' handle-deploy-menu' , e .key - 1 )
89+ this .$emit (' handle-deploy-menu' , e .key - 1 , e )
9090 }
9191 }
9292}
9393 </script >
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