Commit 195da37f authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'full-width-default-design-view' into 'master'

Design view: Do not restrict design image width

See merge request gitlab-org/gitlab!25327
parents 1c1860b2 daa089d2
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
</script> </script>
<template> <template>
<div class="m-auto js-design-image" :class="{ 'h-100 w-100 d-flex-center': !imageStyle }"> <div class="m-auto js-design-image">
<img <img
ref="contentImg" ref="contentImg"
class="mh-100" class="mh-100"
......
---
title: Default design images to 100% of viewport width
merge_request: 25327
author:
type: added
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
exports[`Design management large image component renders image 1`] = ` exports[`Design management large image component renders image 1`] = `
<div <div
class="m-auto js-design-image h-100 w-100 d-flex-center" class="m-auto js-design-image"
> >
<img <img
alt="test" alt="test"
...@@ -14,7 +14,7 @@ exports[`Design management large image component renders image 1`] = ` ...@@ -14,7 +14,7 @@ exports[`Design management large image component renders image 1`] = `
exports[`Design management large image component renders loading state 1`] = ` exports[`Design management large image component renders loading state 1`] = `
<div <div
class="m-auto js-design-image h-100 w-100 d-flex-center" class="m-auto js-design-image"
isloading="true" isloading="true"
> >
<img <img
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment