Staging instance, all changes can be removed at any time

Skip to content

browse: Adapt Permalinks tab size according to screen size

Antoine Lambert requested to merge anlambert/swh-web:swhids-tab-update into master

Previously, the Permalinks tabs was not really usable with small resolution display and it was hidden on mobile devices.

To ensure the Permalinks tab can be used on all display sizes, the following changes were made:

  • tab width is dynamically updated according to screen width
  • tab anchor position is dynamically updated according to screen height
  • tab content is now more compact
  • badges and iframe links are hidden on small resolution display
  • when tab content cannot fit the screen, it is made scrollable
  • tab size is updated when browser window is resized

image image

image image

Related to #4798 (closed) and #4799 (closed).

Merge request reports

Loading