Ensure invalid selections do nothing.
This commit is contained in:
+8
-4
@@ -28,19 +28,23 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
:host([data-position='top']),
|
:host([data-position='top']),
|
||||||
:host([data-alignment='top']) {
|
:host([data-position='left'][data-alignment='top']),
|
||||||
|
:host([data-position='right'][data-alignment='top']) {
|
||||||
top: 0px;
|
top: 0px;
|
||||||
}
|
}
|
||||||
:host([data-position='bottom']),
|
:host([data-position='bottom']),
|
||||||
:host([data-alignment='bottom']) {
|
:host([data-position='left'][data-alignment='bottom']),
|
||||||
|
:host([data-position='right'][data-alignment='bottom']) {
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
}
|
}
|
||||||
:host([data-position='left']),
|
:host([data-position='left']),
|
||||||
:host([data-alignment='left']) {
|
:host([data-position='top'][data-alignment='left']),
|
||||||
|
:host([data-position='bottom'][data-alignment='left']) {
|
||||||
left: 0px;
|
left: 0px;
|
||||||
}
|
}
|
||||||
:host([data-position='right']),
|
:host([data-position='right']),
|
||||||
:host([data-alignment='right']) {
|
:host([data-position='top'][data-alignment='right']),
|
||||||
|
:host([data-position='bottom'][data-alignment='right']) {
|
||||||
right: 0px;
|
right: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user