Commit Graph
7 Commits
Author SHA1 Message Date
Benjamin Vray 075e915431 [FIX] website: add a margin bottom on snippet buttons
Add a margin bottom on snippet buttons. So when there are 2 buttons (or
more) on the same line, we have a space between them on small devices
when displayed vertically.

task-2327741

closes odoo/odoo#61484

X-original-commit: 9db7b9bdbd86405fdfe2c0efccebea780b7ffb63
Related: odoo/design-themes#422
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-11-06 14:28:32 +00:00
Cocographique 6d3fba5913 [FIX] website: remove unnecessary line breaks in snippets
Part of #49697
task-2210730
2020-06-10 08:35:39 +00:00
Samuel Degueldre 807ac81144 [IMP] web_editor, *: set image alt automatically, remove useless alts
*: website, web_unplash

The html alt attribute is supposed to contain a description of an
image's content (an alternative to the visual representation), a lot of
snippets contained alt attributes that were not descriptive of their
content, and would as such be counter-productive in terms of
accessibility. This commit removes those.

Previously, the alt attribute on img tags had to be set manually by the
user through the editor. This commit makes use of the description field
on ir.attachment to store image description, and sets the alt attribute
on images to that description when choosing an image from the media
dialog.

task-2091417
closes odoo/odoo#45174

Related: odoo/enterprise#9520
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-03-30 11:07:10 +00:00
Cocographique 518db3a886 [IMP] website: remove button specific style in Image-Text snippet
Part of https://github.com/odoo/odoo/pull/46773
task-2191381
2020-03-03 16:00:04 +00:00
qsm-odoo 4ca401a855 [REM] website, *: remove s_btn snippet
* website_slides

Part of https://github.com/odoo/odoo/pull/42937
task-2088157
2020-01-24 13:02:01 +00:00
qsm-odoo 9e8b0b0a8c [REF] website: move s_image_text snippet to dedicated file 2019-12-18 00:03:26 +01:00
qsm-odoo d51fc7a0fe [REF] move history of snippets.xml to s_image_text.xml 2019-12-18 00:01:47 +01:00