Browse Source

fix: hide we-are-hiring box for small screens

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/4005/head
mertmit 2 years ago
parent
commit
a14feadbf5
  1. 6
      packages/noco-docs/plugins/nc.js
  2. 6
      packages/nocodb/src/lib/meta/api/swagger/redocHtml.ts
  3. 6
      packages/nocodb/src/lib/meta/api/swagger/swaggerHtml.ts

6
packages/noco-docs/plugins/nc.js

@ -29,6 +29,12 @@ export default () => {
opacity: 1;
right:25px;
}
@media only screen and (max-width: 600px) {
.we-are-hiring {
display: none;
}
}
`
document.body.appendChild(linkEl, document.body.firstChild)
document.body.appendChild(styleEl, document.body.firstChild)

6
packages/nocodb/src/lib/meta/api/swagger/redocHtml.ts

@ -49,6 +49,12 @@ export default `<!DOCTYPE html>
opacity: 1;
right:25px;
}
@media only screen and (max-width: 600px) {
.we-are-hiring {
display: none;
}
}
\`
document.body.appendChild(linkEl, document.body.firstChild)
document.body.appendChild(styleEl, document.body.firstChild)

6
packages/nocodb/src/lib/meta/api/swagger/swaggerHtml.ts

@ -49,6 +49,12 @@ export default `<!DOCTYPE html>
opacity: 1;
right:25px;
}
@media only screen and (max-width: 600px) {
.we-are-hiring {
display: none;
}
}
\`
document.body.appendChild(linkEl, document.body.firstChild)
document.body.appendChild(styleEl, document.body.firstChild)

Loading…
Cancel
Save