set img height and width
This commit is contained in:
parent
a4e813380a
commit
87bee9d234
3 changed files with 4 additions and 4 deletions
|
@ -3,6 +3,6 @@
|
||||||
= field['label']
|
= field['label']
|
||||||
- if @procedure_presentation.sort['table'] == field['table'] && @procedure_presentation.sort['column'] == field['column']
|
- if @procedure_presentation.sort['table'] == field['table'] && @procedure_presentation.sort['column'] == field['column']
|
||||||
- if @procedure_presentation.sort['order'] == 'asc'
|
- if @procedure_presentation.sort['order'] == 'asc'
|
||||||
%img.caret-icon{ src: image_url("table/up_caret.svg") }
|
%img.caret-icon{ src: image_url("table/up_caret.svg"), width: 10, height: 6, loading: 'lazy' }
|
||||||
- else
|
- else
|
||||||
%img.caret-icon{ src: image_url("table/down_caret.svg") }
|
%img.caret-icon{ src: image_url("table/down_caret.svg"), width: 10, height: 6, loading: 'lazy' }
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.dropdown.header-menu-opener
|
.dropdown.header-menu-opener
|
||||||
%button.button.dropdown-button.icon-only.header-menu-button{ title: "Mon compte", 'aria-expanded' => 'false', 'aria-controls' => 'mon_compte_menu' }
|
%button.button.dropdown-button.icon-only.header-menu-button{ title: "Mon compte", 'aria-expanded' => 'false', 'aria-controls' => 'mon_compte_menu' }
|
||||||
.hidden Mon compte
|
.hidden Mon compte
|
||||||
= image_tag "icons/account-circle.svg", alt: 'Mon compte'
|
= image_tag "icons/account-circle.svg", alt: 'Mon compte', width: 24, height: 24, loading: 'lazy'
|
||||||
%ul.header-menu.dropdown-content#mon_compte_menu
|
%ul.header-menu.dropdown-content#mon_compte_menu
|
||||||
%li
|
%li
|
||||||
.menu-item{ title: current_email }
|
.menu-item{ title: current_email }
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
= label_tag :q, "Numéro de dossier", class: 'hidden'
|
= label_tag :q, "Numéro de dossier", class: 'hidden'
|
||||||
= text_field_tag "q", "#{@search_terms if @search_terms.present?}", placeholder: "Rechercher un dossier"
|
= text_field_tag "q", "#{@search_terms if @search_terms.present?}", placeholder: "Rechercher un dossier"
|
||||||
%button{ title: "Rechercher" }
|
%button{ title: "Rechercher" }
|
||||||
= image_tag "icons/search-blue.svg", alt: 'Rechercher', 'aria-hidden':'true'
|
= image_tag "icons/search-blue.svg", alt: 'Rechercher', 'aria-hidden':'true', width: 24, height: 24, loading: 'lazy'
|
||||||
|
|
Loading…
Reference in a new issue