Skip to content

Commit

Permalink
Allow items behind card-actions to be tapped.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlwatkins committed May 19, 2022
1 parent 6c4d6a0 commit 694d1bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion style/tangy-element-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ $_documentStyleContainer.innerHTML = `<dom-module id="tangy-element-styles">
}
.flex-container > #qnum-content {
width: 100%;
padding-right: 2em;
/* padding-right: 2em; */
}
#qnum-number > label {
margin-right: 0.5rem;
Expand Down
5 changes: 5 additions & 0 deletions tangy-form-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ export class TangyFormItem extends PolymerElement {
right: 0px;
padding: 0px;
margin: 0px;
pointer-events: none;
border-top: none;
}
:host([fullscreen-enabled]) paper-button {
background-color: var(--fullscreen-nav--background-color, white);
Expand All @@ -123,6 +125,7 @@ export class TangyFormItem extends PolymerElement {
color: var(--fullscreen-nav--color, grey);
height: var(--fullscreen-nav--height);
width: var(--fullscreen-nav--width);
pointer-events: auto;
}
/* Buttons when nav aligned at the top */
Expand Down Expand Up @@ -178,6 +181,8 @@ export class TangyFormItem extends PolymerElement {
}
:host([fullscreen-enabled]) .card-content {
padding-top: 0px;
padding-left: var(--fullscreen-nav--width);
padding-right: var(--fullscreen-nav--width);
}
:host([fullscreen-enabled]) .card-actions .check-mark {
display: none;
Expand Down

0 comments on commit 694d1bd

Please sign in to comment.