Skip to content

Commit

Permalink
#1914 fix radiobuttons container styles (#1938)
Browse files Browse the repository at this point in the history
  • Loading branch information
ansivgit authored Dec 16, 2022
1 parent 9dfff78 commit 3c4d31b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function SData({
init={init}
{...formState}
>
<fieldset>
<fieldset className="sdata">
<Field
name="context"
options={getSelectOptionsFromSchema(formSchema.properties.context)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
* See the License for the specific language governing permissions and
* limitations under the License.
***************************************************************************/
@import "src/style/variables";
@import "src/style/mixins";
@import 'src/style/variables';
@import 'src/style/mixins';

// stylelint-disable selector-pseudo-class-no-unknown
// stylelint-disable no-descending-specificity
.sgroup {
width: @width-small;
border-radius: 6px;
background-color: @color-background-primary;


label {
display: flex;
flex-direction: column;
Expand All @@ -32,7 +32,8 @@
width: inherit;
}

:global(.MuiOutlinedInput-root), input[type='text'] {
:global(.MuiOutlinedInput-root),
input[type='text'] {
max-width: 236px;
margin-top: 4px;
}
Expand All @@ -43,22 +44,24 @@
padding: 0;
}

fieldset[class='radio'] {
display: flex;
justify-content: space-between;
margin-top: 24px;
width: 100%;

& label {
fieldset[class='sdata'] {
fieldset {
display: flex;
flex-direction: row;
line-height: 16px;
justify-content: space-between;
margin-top: 24px;
width: 100%;

& label {
display: flex;
flex-direction: row;
line-height: 16px;
}
}
}

form {
margin: 12px 12px 4px;

label {
text-align: left;
font-size: 12px;
Expand All @@ -67,7 +70,7 @@
width: 100%;
}

fieldset {
fieldset {
label {
display: flex;
flex-direction: row;
Expand Down

0 comments on commit 3c4d31b

Please sign in to comment.