Jump to content

Horizontal alignment of multi-language vs non-multi-language fields for compact presentation


SwimToWin
 Share

Recommended Posts

Regarding multi-language fields such as TextLanguage, TextareaLanguage, and PageTitleLanguage:

When multi-language fields are shown in Page Edit mode, I often use them next to non-multi-language fields. That makes the page appear a bit disorganized and cluttered because multi-language fields vs non-multi-language fields don't align horizontally. The reason is that multi-language field have "language switcher tabs" that forces the field to "jump down" whereas normal fields stay in the normal position. See screenshot 1. It makes me sea sick! ?

Suggested solution is to move the "language switcher tabs" up so that it aligns with the field label. See screenshot 2.

multi-language fields.png

  • Like 6
Link to comment
Share on other sites

  • 2 years later...

A very quick and easy solution would be to add css like this to your admin.less file:

li.Inputfield_tmp2 input {
  margin-top: 30px;
}

Before:

PyWhR1x.png

After:

aVn486X.png

You need to adjust the field names in your css though.

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...