-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Bug 936401 - [Flatfish] The detail of notification information doesn't s... #13609
Conversation
@gasolin unfortunately we cannot do that. That would break full screen modals in the phone. |
Thanks for noting this. Should we add a new |
Yes, you have to create this new file (inside confirm folder). There's no impact in performance for linking multiple files. |
I'd prefer append @media query in the same css file if there's no significant impact. So these styles will be auto applied to all files without extra work. PR update with in-file media-query |
…t scale correctly
hi, @rnowm , how do you think about this approach? |
@gasolin Sorry for being late answering you, I discussed this with @vingtetun, The idea is to split css files when possible. |
@rnowm if we importing the new responsive.css inside confirm.css, it might affect performance because the css import only happens after the css file is loaded. I've read from book that If we import .css via link tag in html like This css is just a beginning, we may need tweak many existing styles in shared/ (from current radar we'd plan to enhance headers, value selectors...) to make them works perfectly on tablet. |
My feeling is that at the end we may end up with different index.html pages to fit different form factors. As strong as I would like to be able to use media query only it seems to introduce a lot of work to have the exact same files when you really want a different layout. Also, even if the CSS file is still downloaded, I'm curious to see if it is parsed when you do the tag way (I would assume it is). Maybe this worth checking. So whatever you decide here. I think it does not matter that much. I feel like separate files are better but I don't feel like this should slow us down in any cases. |
@vingtetun Thanks for clarify your consideration. I fully understand your concerns. We've some discussion about the approach that to have separate index.html pages to fit different form factors or recycle our mobile UI to use 2 columns on tablet, and UX choose to trace the responsive design (recycle our mobile UI). Another news is we just be informed that we'll focus back on phone and not distract to other devices after 12/9 FC. So we can expect there will be no (or not much) patch for other devices in 1.4. (If the plan is not changed) |
This pull request has been closed due to tree stability issues. Please rebase and re-open the pull request if you still need to land this. Ensure the gaia-try run is green before landing. Sorry for any inconvenience. |
...cale correctly