Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes different width of input fields, see #3716 #3740

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,23 @@ grep -rn 'urn:Magento' --include \*.xml
ddev launch
```

## PhpStorm FileWatcher to work with SCSS files

- install SCSS
```bash
npm install -g sass
```
- open settings `CTRL+ALT+S` and go to File Watcher
- change default setting to:
- Arguments:
```
$FileName$:$FileParentDir$/$FileNameWithoutExtension$.css
```
- Output paths to refresh:
```
$FileParentDir$/$FileNameWithoutExtension$.css:$FileParentDir$/$FileNameWithoutExtension$.css.map
```

## PhpStorm Factory Helper

This repo includes class maps for the core Magento files in `.phpstorm.meta.php`.
Expand Down
32 changes: 12 additions & 20 deletions skin/adminhtml/default/openmage/form.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 1 addition & 7 deletions skin/adminhtml/default/openmage/form.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 2 additions & 10 deletions skin/adminhtml/default/openmage/scss/form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -369,22 +369,14 @@ button[disabled] {
&.value {
padding-left: 0 !important;

textarea {
width: 324px;
}

select {
width: 330px;
}

p.note {
color: $color_dorado_approx;
font-size: 11px;
font-weight: 400;
}

input.input-text {
width: 324px;
input.input-text, textarea, select {
width: 330px;
}
}
}
Expand Down