Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
feat(#610): container size
Browse files Browse the repository at this point in the history
Signed-off-by: peterpeterparker <[email protected]>
  • Loading branch information
peterpeterparker committed Feb 16, 2020
1 parent 78f1b4e commit 9c08f75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
width: var(--width);
height: var(--height);

transform: rotate(var(--rotate, 0deg)) scale(var(--deckgo-dnr-content-scale, 1));
transform: rotate(var(--rotate, 0deg));

position: absolute;

Expand Down Expand Up @@ -88,7 +88,7 @@ div.border {
&.top,
&.bottom {
> div {
width: calc(var(--width) - 32px);
width: calc(var(--width) - 24px);
height: 16px;
}
}
Expand All @@ -99,7 +99,7 @@ div.border {

> div {
width: 16px;
height: calc(var(--height) - 32px);
height: calc(var(--height) - 24px);
}
}

Expand Down Expand Up @@ -140,7 +140,7 @@ div.rotate {
left: 50%;
transform: translate(-50%, -100%);

height: var(--deckgo-dnr-rotate-anchor-width, 32px);
height: var(--deckgo-dnr-rotate-anchor-width, 24px);
width: var(--deckgo-dnr-rotate-anchor-height, 32px);

div.action {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ div.deckgo-aspect-ratio-container {
16
);

overflow: hidden;
overflow: visible;
}

::slotted([slot="header"]),
Expand Down

0 comments on commit 9c08f75

Please sign in to comment.