]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Add is-relative helper plus docs
authorlucperkins <lucperkins@gmail.com>
Thu, 14 Mar 2019 18:31:12 +0000 (11:31 -0700)
committerJeremy Thomas <bbxdesign@gmail.com>
Fri, 17 May 2019 10:08:54 +0000 (11:08 +0100)
docs/documentation/modifiers/helpers.html
sass/base/helpers.sass

index c29d333ff58dba1ed4a042ebaf53a31d7806425e..e9a6aa1dac57b576e34a8de39cb06e5305515485 100644 (file)
@@ -63,5 +63,9 @@ breadcrumb:
       <td><code>is-sr-only</code></td>
       <td>Hide elements <strong>visually</strong> but keep the element available to be announced by a <strong>screen reader</strong></td>
     </tr>
+    <tr>
+      <td><code>is-relative</code></td>
+      <td>Applies <code>position: relative</code> to the element.</td>
+    </tr>
   </tbody>
 </table>
index 17fdf15acc3a92827a80a6faaec228762064ef1a..a28449bc9bdb3313716448f4cd5e32818d0db346 100644 (file)
@@ -274,3 +274,6 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
 
 .is-unselectable
   @extend %unselectable
+
+.is-relative
+  position: relative