Skip to content

Commit

Permalink
Merge pull request #157 from appwrite/new-drop-state
Browse files Browse the repository at this point in the history
Add wide drop in mobile removable max width in mobile
  • Loading branch information
ArmanNik authored Mar 6, 2024
2 parents 78e37de + 98aadac commit b320ca3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .changeset/famous-parrots-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@appwrite.io/pink-icons": minor
"@appwrite.io/pink": minor
---

Add utility class to remove max width
8 changes: 4 additions & 4 deletions apps/pink/src/pages/elements/input-field.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ Dropdown is made with ```drop-list```. To hide items use the ```u-hide``` class.
</div>
</button>

<div class="drop is-block-end is-no-arrow">
<div class="drop is-block-end is-no-arrow u-max-width-none">
<section class="drop-section">
<ul class="drop-list">
<li class="drop-list-item">
Expand Down Expand Up @@ -316,7 +316,7 @@ Dropdown is made with ```drop-list```. To hide items use the ```u-hide``` class.

</div>

<div class="drop is-block-end is-no-arrow">
<div class="drop is-block-end is-no-arrow u-max-width-none">
<section class="drop-section">
<ul class="drop-list">
<li class="drop-list-item">
Expand Down Expand Up @@ -361,7 +361,7 @@ Dropdown is made with ```drop-list```. To hide items use the ```u-hide``` class.

</div>

<div class="drop is-block-end is-no-arrow">
<div class="drop is-block-end is-no-arrow u-max-width-none">
<section class="drop-section">
<ul class="drop-list">
<li class="drop-list-item">
Expand Down Expand Up @@ -410,7 +410,7 @@ Dropdown is made with ```drop-list```. To hide items use the ```u-hide``` class.
</div>
</div>

<div class="drop is-block-end is-no-arrow">
<div class="drop is-block-end is-no-arrow u-max-width-none">
<section class="drop-section">

<div class="u-flex u-flex-vertical u-cross-center">
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/_9-utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@
.u-max-width-650 { max-inline-size:pxToRem(650)!important; }
.u-max-width-700 { max-inline-size:pxToRem(700)!important; }
.u-max-width-100-percent { max-inline-size:100%!important; }
.u-max-width-none { max-inline-size:none!important; }

.u-height-100-percent { block-size:100%!important; }
.u-height-800 { block-size:pxToRem(800)!important; }
Expand Down

0 comments on commit b320ca3

Please sign in to comment.