Skip to content

Commit

Permalink
fix(checkbox-button): add aspect ratio to 1 (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
skhamvon authored Jun 22, 2023
1 parent 5b10253 commit cc72649
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
height: ods-get-size-property($sizes, height);
margin: ods-get-size-property($sizes, margin);
width: ods-get-size-property($sizes, width);
aspect-ratio: 1/1;
}
}
}
15 changes: 15 additions & 0 deletions packages/stencil/components/checkbox-button/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,20 @@
<p>interactive disabled checked indeterminate</p>
<osds-checkbox-button interactive disabled checked indeterminate></osds-checkbox-button>


<p>with slot</p>
<osds-checkbox-button color="default" size="md" class="hydrated">
<span slot="start">Left input</span>
<span slot="end">Right input</span>
</osds-checkbox-button>

<p>with long text slot</p>
<div style='width: 200px'>
<osds-checkbox>
<osds-checkbox-button interactive="" color="primary" size="md">
<span slot="end">Oles ipsum dolor sit amet, oratio hinc ius impetus persius</span>
</osds-checkbox-button>
</osds-checkbox>
</div>
</body>
</html>

0 comments on commit cc72649

Please sign in to comment.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy