Skip to content

Commit

Permalink
set full height for web embeds
Browse files Browse the repository at this point in the history
Signed-off-by: grnd-alt <[email protected]>
  • Loading branch information
grnd-alt committed Aug 5, 2024
1 parent 7e3183c commit 4f1832e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions src/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,35 @@
}
}

.widgets--list{
background-color: red;
height: 100%;
}

.widgets--list > div{
height: 100% !important;
}
.widgets--list > div > div{
height: 100% !important;
}

.widget-custom {
height: 100%;
margin: 0 !important;
}

.widget-file--interactive{
background-color: blue !important;
height: 100% !important;
max-height: 100% !important;
min-height: unset !important;
}

.text-menubar--ready{
backdrop-filter: unset !important;
-webkit-backdrop-filter: unset !important;
}

.App {
position: relative;
height: 100%;
Expand Down
2 changes: 1 addition & 1 deletion src/Embeddable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ import VueWrapper from './VueWrapper'
* @param props componentProps and component to be rendered in Vue
*/
export default function(props) {
const referenceProps = { text: props.link, limit: '1', interactive: true }
const referenceProps = { text: props.link, limit: 1, interactive: true }
return React.createElement(VueWrapper, { componentProps: referenceProps, component: NcReferenceList })
}

0 comments on commit 4f1832e

Please sign in to comment.