You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/09/29 04:13:28 UTC

[GitHub] [cloudstack] rhtyd commented on a change in pull request #5526: UI - Fixes modal width by device screen

rhtyd commented on a change in pull request #5526:
URL: https://github.com/apache/cloudstack/pull/5526#discussion_r718138367



##########
File path: ui/src/views/AutogenView.vue
##########
@@ -1524,13 +1527,18 @@ export default {
       } else {
         callback()
       }
+    },
+    setModalWidthByScreen () {
+      const screenWidth = window.innerWidth
+      if (screenWidth <= 768) {
+        this.modalWidth = '450px'

Review comment:
       Should this be like a percentage of total width? 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org