Skip to content
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

Site Profiler: Minor Styling Tweaks #86465

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion client/site-profiler/components/heading-information/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,18 @@

.cta-wrapper {
display: flex;
flex-wrap: wrap;
gap: 1rem;

@media ( max-width: $break-mobile ) {
.button-action {
justify-content: center;
width: 100%;
}
}
}

@media (max-width: $break-small ) {
@media ( max-width: $break-small ) {
.domain {
font-size: 2rem;
line-height: 1;
Expand Down
2 changes: 1 addition & 1 deletion client/site-profiler/components/site-profiler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function SiteProfiler( props: Props ) {
return (
<>
{ ! showResultScreen && (
<LayoutBlock className="domain-analyzer-block" width="medium">
<LayoutBlock className="domain-analyzer-block">
<DocumentHead title={ translate( 'Site Profiler' ) } />
<DomainAnalyzer
domain={ domain }
Expand Down
5 changes: 5 additions & 0 deletions client/site-profiler/components/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ html[dir="rtl"] {
font-size: 2.5rem;
line-height: 1.15;
margin-bottom: 1rem;

@media ( max-width: $break-small ) {
/* stylelint-disable-next-line */
font-size: 1.875em;
}
}

h3 {
Expand Down
Loading