Skip to content

Commit

Permalink
Fixed #2305 - Incorrect Sizing due to filter input width of dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
mcandu committed Sep 21, 2021
1 parent 1c4fc7b commit 606e9ff
Show file tree
Hide file tree
Showing 34 changed files with 110 additions and 1 deletion.
1 change: 1 addition & 0 deletions public/themes/arya-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.5rem;
margin-right: 1.5rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.5rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/arya-green/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.5rem;
margin-right: 1.5rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.5rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/arya-orange/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.5rem;
margin-right: 1.5rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.5rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/arya-purple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.5rem;
margin-right: 1.5rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.5rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/bootstrap4-dark-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.75rem;
margin-right: 1.75rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.75rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/bootstrap4-dark-purple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.75rem;
margin-right: 1.75rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.75rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/bootstrap4-light-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.75rem;
margin-right: 1.75rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.75rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/bootstrap4-light-purple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.75rem;
margin-right: 1.75rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.75rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/fluent-light/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.5rem;
margin-right: 1.5rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.5rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/luna-amber/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.429rem;
margin-right: 1.429rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.429rem;
Expand Down
78 changes: 77 additions & 1 deletion public/themes/luna-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,31 @@
box-shadow: 0 0 0 0.1rem white;
}

.p-component-overlay-enter {
animation: p-component-overlay-enter-animation 150ms forwards;
}

.p-component-overlay-leave {
animation: p-component-overlay-leave-animation 150ms forwards;
}

@keyframes p-component-overlay-enter-animation {
from {
background-color: transparent;
}
to {
background-color: var(--maskbg);
}
}
@keyframes p-component-overlay-leave-animation {
from {
background-color: var(--maskbg);
}
to {
background-color: transparent;
}
}

:root {
--blue-50:#f3f8fc;
--blue-100:#c6dcef;
Expand Down Expand Up @@ -728,6 +753,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.429rem;
margin-right: 1.429rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.429rem;
Expand Down Expand Up @@ -4442,7 +4468,7 @@
.p-tabview .p-tabview-nav li .p-tabview-nav-link:not(.p-disabled):focus {
outline: 0 none;
outline-offset: 0;
box-shadow: 0 0 0 0.1rem white;
box-shadow: inset 0 0 0 0.1rem white;
}
.p-tabview .p-tabview-nav li:not(.p-highlight):not(.p-disabled):hover .p-tabview-nav-link {
background: #191919;
Expand All @@ -4454,6 +4480,18 @@
border-color: #81D4FA;
color: #212529;
}
.p-tabview .p-tabview-nav-btn.p-link {
background: #81D4FA;
color: #212529;
width: 2.357rem;
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
border-radius: 0;
}
.p-tabview .p-tabview-nav-btn.p-link:focus {
outline: 0 none;
outline-offset: 0;
box-shadow: inset 0 0 0 0.1rem white;
}
.p-tabview .p-tabview-panels {
background: #323232;
padding: 0.571rem 1rem;
Expand Down Expand Up @@ -5927,6 +5965,44 @@
background-color: rgba(0, 0, 0, 0.9);
}

.p-image-mask {
--maskbg: rgba(0, 0, 0, 0.9);
}

.p-image-preview-indicator {
background-color: transparent;
color: #f8f9fa;
transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.p-image-preview-container:hover > .p-image-preview-indicator {
background-color: rgba(0, 0, 0, 0.5);
}

.p-image-toolbar {
padding: 1rem;
}

.p-image-action.p-link {
color: #f8f9fa;
background-color: transparent;
width: 3rem;
height: 3rem;
border-radius: 50%;
transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
margin-right: 0.5rem;
}
.p-image-action.p-link:last-child {
margin-right: 0;
}
.p-image-action.p-link:hover {
color: #f8f9fa;
background-color: rgba(255, 255, 255, 0.1);
}
.p-image-action.p-link i {
font-size: 1.5rem;
}

.p-avatar {
background-color: #4b4b4b;
border-radius: 3px;
Expand Down
1 change: 1 addition & 0 deletions public/themes/luna-green/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.429rem;
margin-right: 1.429rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.429rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/luna-pink/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.429rem;
margin-right: 1.429rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.429rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/md-dark-deeppurple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 2rem;
margin-right: 2rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 1rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/md-dark-indigo/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 2rem;
margin-right: 2rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 1rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/md-light-deeppurple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 2rem;
margin-right: 2rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 1rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/md-light-indigo/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 2rem;
margin-right: 2rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 1rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/mdc-dark-deeppurple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.75rem;
margin-right: 1.75rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.75rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/mdc-dark-indigo/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.75rem;
margin-right: 1.75rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.75rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/mdc-light-deeppurple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.75rem;
margin-right: 1.75rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.75rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/mdc-light-indigo/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.75rem;
margin-right: 1.75rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.75rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/nova-accent/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.429rem;
margin-right: 1.429rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.429rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/nova-alt/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.429rem;
margin-right: 1.429rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.429rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/nova/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.429rem;
margin-right: 1.429rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.429rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/rhea/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.429rem;
margin-right: 1.429rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.429rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/saga-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.5rem;
margin-right: 1.5rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.5rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/saga-green/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.5rem;
margin-right: 1.5rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.5rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/saga-orange/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.5rem;
margin-right: 1.5rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.5rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/saga-purple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.5rem;
margin-right: 1.5rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.5rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/tailwind-light/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.75rem;
margin-right: 1.75rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.75rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/vela-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.5rem;
margin-right: 1.5rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.5rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/vela-green/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.5rem;
margin-right: 1.5rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.5rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/vela-orange/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.5rem;
margin-right: 1.5rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.5rem;
Expand Down
1 change: 1 addition & 0 deletions public/themes/vela-purple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {
padding-right: 1.5rem;
margin-right: 1.5rem;
}
.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {
right: 0.5rem;
Expand Down

0 comments on commit 606e9ff

Please sign in to comment.