Condition Widgets multiple fixes (#4335)

This commit is contained in:
Charles Hacskaylo 2021-10-21 10:16:41 -07:00 committed by GitHub
parent 4873f40614
commit c269e089da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 7 deletions

View File

@ -38,12 +38,16 @@ a.c-condition-widget {
// Make Condition Widget expand when in a hidden frame Layout context
// For both static and Flexible Layouts
.c-so-view--no-frame > .c-so-view__object-view > .c-condition-widget {
@include abs();
display: flex;
align-items: center;
justify-content: center;
padding: 0;
.c-so-view--conditionWidget.c-so-view--no-frame {
.c-condition-widget {
@include abs();
display: flex;
align-items: center;
justify-content: center;
padding: 0;
}
.c-so-view__frame-controls { display: none; }
}
// Add some margin when a Condition Widget is in a Flexible Layout

View File

@ -453,12 +453,16 @@ select {
}
}
.c-so-view--no-frame > .c-so-view__object-view > .c-hyperlink--button {
.c-so-view--hyperlink.c-so-view--no-frame {
.c-hyperlink--button {
@include abs();
display: flex;
align-items: center;
justify-content: center;
padding: 0;
}
.c-so-view__frame-controls { display: none; }
}
/******************************************************** MENUS */