Skip to content

Commit

Permalink
Update style to use rem values.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Oct 9, 2023
1 parent 7ffd26b commit 92bd08e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/www/ui_components/app-root.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ export class AppRoot extends mixinBehaviors([AppLocalizeBehavior], PolymerElemen
return html`
<style>
:host {
--app-toolbar-height: 40px;
--app-toolbar-gutter: 8px;
--app-toolbar-button-gutter: 12px;
--app-header-height: 56px;
--app-toolbar-height: 2.5rem;
--app-toolbar-gutter: .5rem;
--app-toolbar-button-gutter: .75rem;
--app-header-height: 3.5rem;
--contact-view-gutter: calc(var(--app-toolbar-gutter) + var(--app-toolbar-button-gutter));
--contact-view-max-width: 400px;
--light-green: #2fbea5;
Expand Down
1 change: 0 additions & 1 deletion src/www/views/contact_view/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export class ContactView extends LitElement {
* this issue.
*/
--mdc-menu-max-height: 200px;
--mdc-menu-max-width: var(--contact-view-max-width);
width: 100%;
}
Expand Down

0 comments on commit 92bd08e

Please sign in to comment.