-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Update the mobile_guide page to the new design. #30006
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
- Extract the CSS & SVGs from the page for easier sync with mobile.element.io - Update the webpack config to copy the extracted SVGs (webpack magic handles the CSS). - Initial implementation of the updated design (still more updates to come). - Allow the page to be configured for Element Classic, X and Pro. fixup
Ok, I don't understand, when I run locally with |
} | ||
|
||
body { | ||
background: #fff; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't switched to using var(--cpd-color-*)
yet as I'd like to figure out the best way to make this page easy to copy over to mobile.element.io.
@media screen and (max-width: 1120px) { | ||
body { | ||
font-size: 16px; | ||
} | ||
|
||
h2 { | ||
font-size: 16px; | ||
} | ||
|
||
.mx_Button { | ||
font-size: 16px; | ||
padding: 12px 16px; | ||
} | ||
|
||
.mx_HomePage_header { | ||
justify-content: left; | ||
} | ||
|
||
.mx_Spacer { | ||
margin-top: 48px; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm unsure if this is doing anything now, would it be ok to remove it?
This PR updates the mobile_guide page to match the new design that we're going to roll out on mobile.element.io (we would like both pages to look the same). It makes the following changes:
mobile_guide/assets
directory (for easy sync with mobile.element.io) and the CSS into an index.css page (adding a new copy rule for the SVGs).mobile_guide_app_variant
toconfig.json
(please let me know if there's a better name or if I missed any steps when adding this).Checklist
public
/exported
symbols have accurate TSDoc documentation.