Skip to content

Commit

Permalink
Fix setup wizard alignment issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Etheryte committed Aug 2, 2024
1 parent 0113002 commit 0058897
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 26 deletions.
17 changes: 6 additions & 11 deletions web/html/src/branding/css/base/setup-wizard.less
Original file line number Diff line number Diff line change
Expand Up @@ -138,23 +138,18 @@ body {
color: @gray;
}
}
#wizard-faq img {
margin: 1em 0;
}
}

#wizard-faq {
display: flex;
flex-direction: column;
border-left: 1px solid @eos-bc-gray-100;
text-align: center;
img:first-child {
margin-top: 1em;
margin-bottom: 1em;
}
h4,
p {
text-align: left;

img {
margin: 1em auto;
}
}

.panel[data-target="#modal-edit-credentials"] {
cursor: pointer;
}
Expand Down
17 changes: 6 additions & 11 deletions web/html/src/branding/css/base/setup-wizard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -138,23 +138,18 @@ body {
color: $gray;
}
}
#wizard-faq img {
margin: 1em 0;
}
}

#wizard-faq {
display: flex;
flex-direction: column;
border-left: 1px solid $eos-bc-gray-100;
text-align: center;
img:first-child {
margin-top: 1em;
margin-bottom: 1em;
}
h4,
p {
text-align: left;

img {
margin: 1em auto;
}
}

.panel[data-target="#modal-edit-credentials"] {
cursor: pointer;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ button.is-plain {
&.disabled {
border-color: transparent;
text-decoration: none;
background: transparent;

&,
&:hover {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ button.is-plain {
&.disabled {
border-color: transparent;
text-decoration: none;
background: transparent;

&,
&:hover {
Expand Down
3 changes: 1 addition & 2 deletions web/html/src/branding/css/susemanager/components/inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ $input-height: 35px;
}
}

div.form-control,
.form-control,
.form-control--react-select > div:first-of-type {
color: $eos-bc-gray-1000;
Expand All @@ -25,8 +26,6 @@ $input-height: 35px;
background: #fff;
}

// This is like writing `div&`, except this nonsense is valid syntax, see https://stackoverflow.com/a/28357148/1470607
@at-root #{selector-unify(&, div)},
&[disabled],
&[readonly],
fieldset[disabled] & {
Expand Down
2 changes: 2 additions & 0 deletions web/html/src/branding/css/susemanager/components/modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,6 @@
.ReactModal__Content {
background-color: $modal-color;
border-radius: $border-radius;
// For modals with unspecified constraints, limit them to the largest
max-width: $modal-xl;
}
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class SCCDialog extends React.Component<Props> {

render() {
return (
<div className="panel panel-default panel-body text-left">
<div>
<h4>{t("Refresh the product catalog from SUSE Customer Center")}</h4>
<hr />
<div className="d-block">
Expand All @@ -170,7 +170,7 @@ class SCCDialog extends React.Component<Props> {
})}
</ul>
</div>
<div className="text-left">
<div>
<Button
id="scc-refresh-button"
className="btn btn-default"
Expand Down

0 comments on commit 0058897

Please sign in to comment.