Skip to content

Commit

Permalink
fix: UI issue on table contents which is overlapping layout on tutori…
Browse files Browse the repository at this point in the history
…als page. (#72)

* fix: UI issue on table contents which is overlapping layout on docs page.

* WEB-736 - Updated the cookie banner design on tutorials

* build error fix
  • Loading branch information
Santhosh-testsigma authored Oct 26, 2023
1 parent 0397c37 commit 9e6bdad
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default ({ data, pageContext }) => {
</div>

</main>
<aside className="w-1/5">
<aside className="w-1/5 bg-white">
<hr className="d-block lg:hidden" />
<div className="top-0 top-1 border-l pl-4 py-16 sticky">
<div className="edit-button">
Expand Down
42 changes: 42 additions & 0 deletions src/templates/page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -660,4 +660,46 @@ code[class*="language-"] {
@media only screen and (max-width: 767px) {
@apply px-8;
}
}

table{
thead, tbody{
@apply w-full;
tr{
td, th{
word-wrap: break-word;
li{
@apply break-all w-full;
}
}
}
}
}

// Cookie banner
#hs-banner-parent{
.hs-cookie-notification-position-bottom{
width: calc(min(25em, 100%));
left: 12%;
@media only screen and (max-width: 767px) {
left: 3%;
width: 95%;
}
@media only screen and (min-width:768px) and (max-width: 1023px) {
left: 20%;
width: 35%;
}
#hs-eu-cookie-confirmation-inner{
@apply p-8;
#hs-eu-policy-wording{
@apply mr-0 mb-4;
}
#hs-eu-cookie-confirmation-buttons-area{
@apply justify-center mr-0;
#hs-eu-decline-button{
@apply hidden;
}
}
}
}
}

0 comments on commit 9e6bdad

Please sign in to comment.