Skip to content

Commit 475118d

Browse files
committed
fix companion css
1 parent 1b0056c commit 475118d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/components/KymaCompanion/components/KymaCompanion.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#companion_wrapper {
2-
width: 100%;
2+
width: calc(100% - 1rem);
3+
position: absolute;
4+
top: 0.5rem;
5+
left: 0.5rem;
6+
right: 0.5rem;
7+
bottom: 0.5rem;
38

49
.kyma-companion {
510
height: 100%;

src/components/KymaCompanion/components/KymaCompanion.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default function KymaCompanion() {
4949
}
5050

5151
return (
52-
<div id="companion_wrapper" className="sap-margin-tiny">
52+
<div id="companion_wrapper">
5353
<Card
5454
className="kyma-companion"
5555
header={

0 commit comments

Comments
 (0)