We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba0758e commit 7d02f09Copy full SHA for 7d02f09
src/style/mod.rs
@@ -265,8 +265,6 @@ pub enum Position {
265
///
266
/// WARNING: to opt-out of layouting entirely, you must use [`Display::None`] instead on your [`Style`] object.
267
Absolute,
268
- /// The offset is computed relative to the viewport or transform boundary
269
- Fixed,
270
}
271
272
impl Default for Position {
@@ -285,7 +283,7 @@ impl Position {
285
283
/// Whether the element is positioned out-of-flow (absolute or fixed position)
286
284
#[inline(always)]
287
pub fn is_out_of_flow(self) -> bool {
288
- matches!(self, Self::Absolute | Self::Fixed)
+ matches!(self, Self::Absolute)
289
290
291
/// Whether the element is positioned in-flow (NOT absolute or fixed position)
0 commit comments