mirror of
https://github.com/nasa/openmct.git
synced 2025-03-22 12:05:19 +00:00
[Frontend] CSS tweaks to fix required glyph positioning
#700 CSS modded to allow better cross-browser positioning of 'required' form-row glyphs; Other elem's CSS adjusted as a result;
This commit is contained in:
parent
d30532a8bc
commit
32a42bd679
@ -85,6 +85,8 @@ p {
|
||||
margin-bottom: $interiorMarginLg;
|
||||
}
|
||||
|
||||
ol, ul { padding-left: 0; }
|
||||
|
||||
mct-container {
|
||||
display: block;
|
||||
}
|
||||
|
@ -114,6 +114,7 @@ label.radio.custom {
|
||||
$d: $formRowCtrlsH;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
line-height: 120%;
|
||||
margin-right: $interiorMargin * 4;
|
||||
padding-left: $d + $interiorMargin;
|
||||
position: relative;
|
||||
|
@ -55,7 +55,6 @@
|
||||
>.controls {
|
||||
box-sizing: border-box;
|
||||
font-size: 0.8rem;
|
||||
min-height: $formInputH;
|
||||
}
|
||||
|
||||
>.label {
|
||||
|
@ -23,9 +23,13 @@
|
||||
> .label {
|
||||
padding-right: $reqSymbolM; // Keep room for validation element
|
||||
&::after {
|
||||
float: right;
|
||||
position: absolute;
|
||||
right: $interiorMargin;
|
||||
font-family: symbolsfont;
|
||||
font-size: $reqSymbolFontSize;
|
||||
height: 100%;
|
||||
line-height: 200%;
|
||||
|
||||
}
|
||||
}
|
||||
&.invalid,
|
||||
|
Loading…
x
Reference in New Issue
Block a user