Skip to content

Commit

Permalink
Merge pull request #1016 from OutSystems/ROU-11563-v2
Browse files Browse the repository at this point in the history
ROU-11563: DropdownServerSide - Fix layer position issues at studio.
  • Loading branch information
joselrio authored Jan 31, 2025
2 parents 0eccc2c + 6aacdf5 commit dc2f45a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ $balloonMobileTopMargin: 5vh;
// Service Studio Preview
& {
-servicestudio-left: initial;
-servicestudio-margin-top: 4px;
-servicestudio-max-height: 320px;
-servicestudio-opacity: 1;
-servicestudio-position: relative;
-servicestudio-top: calc(100% + 4px);
-servicestudio-position: relative !important;
-servicestudio-top: 0;
-servicestudio-width: 100%;
}
}
Expand Down Expand Up @@ -92,6 +93,12 @@ $balloonMobileTopMargin: 5vh;
position: relative;
transition: border 250ms ease-in-out;
width: 100%;

// Service Studio Preview
& {
-servicestudio-height: fit-content;
-servicestudio-min-height: 40px;
}
}

[data-expression] {
Expand Down
4 changes: 4 additions & 0 deletions src/scripts/OSFramework/OSUI/Pattern/Tabs/scss/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@
div:empty {
-servicestudio-padding: var(--space-m);
}

.uieditor-if-branch-widget:has(> div:empty) {
-servicestudio-height: 0;
}
}

// This selector is used to prevent render issues on chrome, in some screen-sizes, due to overflow hidden and css snap
Expand Down

0 comments on commit dc2f45a

Please sign in to comment.