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

fix body overflow issue on x-axis #288

Closed
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
5 changes: 5 additions & 0 deletions assets/scss/_content_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,9 @@ h1, h2, h3, h4, h5, h6 {
background-color: transparent;
border-bottom-width: 1px;
box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.05);
}

iframe{
max-width: 560px;
width: 100%;
}
3 changes: 1 addition & 2 deletions assets/scss/_footer_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
background-color: $black;
color: $white;
line-height: 28px;
padding: 2.5rem 3rem 1.5rem;
padding: 2.5rem 2.5rem 1.5rem;
z-index: 30;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: -12px;
font-family: $font-qanelas;

.d-header {
Expand Down
3 changes: 0 additions & 3 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@
margin-top: 3rem;
}

body{
overflow-x: hidden;
}

// Main Middle Body
.td-content {
Expand Down
2 changes: 1 addition & 1 deletion content/en/cloud/self-hosted/white-labeling/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Square logo (mark): 32 width x 32 height pixels
{{% card header="Square Logo Example" footer="<i>Example: CNCF branding on Dashboard</i>" %}}
<p>
This example includes a custom branding with colors and logo mark as would be displayed on a mobile device.</p>
<div style="width: 500px; height: 200px; overflow: hidden;">
<div style="max-width: 500px; width:100%; height: 200px; overflow: hidden;">
<img src="./images/white-label-dashboard-responsive-example.png"
width="100%"
style="margin-top:-.25rem;
Expand Down
Loading