-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add option to keep single-line rules in CSS #1299
Comments
This is related to #1124, but separate since it is asking only to preserve one-line rules. |
Thank You for response @bitwiseman ! :) |
Maybe it should be an option like Formatted: .fill {
flex: 1 1 auto;
}
.item-name input {
font-size: 1.5em;
}
.avatar {
border-radius: 50%;
margin-right: 10px
}
.avatar-32 {
width: 32px;
height: 32px
}
.avatar-64 {
width: 64px;
height: 64px
}
.avatar-100 {
width: 100px;
height: 100px
}
.avatar-128 {
width: 128px;
height: 128px
}
.details {
padding: 2em;
}
.form-actions {
direction: rtl;
} Desired result: .fill { flex: 1 1 auto; }
.item-name input { font-size: 1.5em; }
.avatar { border-radius: 50%; margin-right: 10px }
.avatar-32 { width: 32px; height: 32px }
.avatar-64 { width: 64px; height: 64px }
.avatar-100 { width: 100px; height: 100px }
.avatar-128 { width: 128px; height: 128px }
.details { padding: 2em; }
.form-actions { direction: rtl; } |
This will require at least css tokenization to get it to work (#545). Once we have that this will be implemented the same way it is in the javascript side. |
Description
Greetings!
if I have this
footer { padding: 1%; }
then after Shift+Alt+F I get
Is there an option to kee 'one-line-rule' as it is?
Tried
"beautify.options": {"brace_style": "collapse,preserve-inline"}
but no luck
Settings
The text was updated successfully, but these errors were encountered: