mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
Remove bottom margin from embedded remarkup images
Summary: {T15473} created a very small but annoying regression. Every embedded images has now an margin at the bottom: {F718091} I don't think this is intentional. If you click on the margin the image itself is opened not the lightbox. This revision removes the margin. Test Plan: Look at tasks with embedded images and see if there is still an margin. Reviewers: O1 Blessed Committers, valerio.bozzolan, aklapper Reviewed By: O1 Blessed Committers, valerio.bozzolan, aklapper Subscribers: aklapper, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25522
This commit is contained in:
parent
7702772b2b
commit
2f1e271c5f
3 changed files with 15 additions and 10 deletions
|
@ -9,7 +9,7 @@ return array(
|
||||||
'names' => array(
|
'names' => array(
|
||||||
'conpherence.pkg.css' => '2f25eb4f',
|
'conpherence.pkg.css' => '2f25eb4f',
|
||||||
'conpherence.pkg.js' => '020aebcf',
|
'conpherence.pkg.js' => '020aebcf',
|
||||||
'core.pkg.css' => '5e7dbeb9',
|
'core.pkg.css' => '3b2df0d0',
|
||||||
'core.pkg.js' => '2eeda9e0',
|
'core.pkg.js' => '2eeda9e0',
|
||||||
'dark-console.pkg.js' => '187792c2',
|
'dark-console.pkg.js' => '187792c2',
|
||||||
'differential.pkg.css' => '2431def2',
|
'differential.pkg.css' => '2431def2',
|
||||||
|
@ -109,7 +109,7 @@ return array(
|
||||||
'rsrc/css/application/tokens/tokens.css' => 'ce5a50bd',
|
'rsrc/css/application/tokens/tokens.css' => 'ce5a50bd',
|
||||||
'rsrc/css/application/uiexample/example.css' => 'b4795059',
|
'rsrc/css/application/uiexample/example.css' => 'b4795059',
|
||||||
'rsrc/css/core/core.css' => 'b3a5928e',
|
'rsrc/css/core/core.css' => 'b3a5928e',
|
||||||
'rsrc/css/core/remarkup.css' => '3480e1fe',
|
'rsrc/css/core/remarkup.css' => 'b251d2e7',
|
||||||
'rsrc/css/core/syntax.css' => '548567f6',
|
'rsrc/css/core/syntax.css' => '548567f6',
|
||||||
'rsrc/css/core/z-index.css' => 'ac3bfcd4',
|
'rsrc/css/core/z-index.css' => 'ac3bfcd4',
|
||||||
'rsrc/css/diviner/diviner-shared.css' => '4bd263b0',
|
'rsrc/css/diviner/diviner-shared.css' => '4bd263b0',
|
||||||
|
@ -171,7 +171,7 @@ return array(
|
||||||
'rsrc/css/phui/phui-pager.css' => 'd022c7ad',
|
'rsrc/css/phui/phui-pager.css' => 'd022c7ad',
|
||||||
'rsrc/css/phui/phui-pinboard-view.css' => '1f08f5d8',
|
'rsrc/css/phui/phui-pinboard-view.css' => '1f08f5d8',
|
||||||
'rsrc/css/phui/phui-policy-section-view.css' => '139fdc64',
|
'rsrc/css/phui/phui-policy-section-view.css' => '139fdc64',
|
||||||
'rsrc/css/phui/phui-property-list-view.css' => '118db252',
|
'rsrc/css/phui/phui-property-list-view.css' => '9a155095',
|
||||||
'rsrc/css/phui/phui-remarkup-preview.css' => '91767007',
|
'rsrc/css/phui/phui-remarkup-preview.css' => '91767007',
|
||||||
'rsrc/css/phui/phui-segment-bar-view.css' => '5166b370',
|
'rsrc/css/phui/phui-segment-bar-view.css' => '5166b370',
|
||||||
'rsrc/css/phui/phui-spacing.css' => 'b05cadc3',
|
'rsrc/css/phui/phui-spacing.css' => 'b05cadc3',
|
||||||
|
@ -798,7 +798,7 @@ return array(
|
||||||
'phabricator-object-selector-css' => 'ee77366f',
|
'phabricator-object-selector-css' => 'ee77366f',
|
||||||
'phabricator-phtize' => '2f1db1ed',
|
'phabricator-phtize' => '2f1db1ed',
|
||||||
'phabricator-prefab' => '5793d835',
|
'phabricator-prefab' => '5793d835',
|
||||||
'phabricator-remarkup-css' => '3480e1fe',
|
'phabricator-remarkup-css' => 'b251d2e7',
|
||||||
'phabricator-remarkup-metadata' => 'e40c4991',
|
'phabricator-remarkup-metadata' => 'e40c4991',
|
||||||
'phabricator-search-results-css' => '9ea70ace',
|
'phabricator-search-results-css' => '9ea70ace',
|
||||||
'phabricator-shaped-request' => '995f5102',
|
'phabricator-shaped-request' => '995f5102',
|
||||||
|
@ -873,7 +873,7 @@ return array(
|
||||||
'phui-pager-css' => 'd022c7ad',
|
'phui-pager-css' => 'd022c7ad',
|
||||||
'phui-pinboard-view-css' => '1f08f5d8',
|
'phui-pinboard-view-css' => '1f08f5d8',
|
||||||
'phui-policy-section-view-css' => '139fdc64',
|
'phui-policy-section-view-css' => '139fdc64',
|
||||||
'phui-property-list-view-css' => '118db252',
|
'phui-property-list-view-css' => '9a155095',
|
||||||
'phui-remarkup-preview-css' => '91767007',
|
'phui-remarkup-preview-css' => '91767007',
|
||||||
'phui-segment-bar-view-css' => '5166b370',
|
'phui-segment-bar-view-css' => '5166b370',
|
||||||
'phui-spacing-css' => 'b05cadc3',
|
'phui-spacing-css' => 'b05cadc3',
|
||||||
|
|
|
@ -474,6 +474,14 @@ video.phabricator-media {
|
||||||
box-shadow: 1px 1px 2px rgba({$alphablack}, 0.20);
|
box-shadow: 1px 1px 2px rgba({$alphablack}, 0.20);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.phabricator-remarkup-embed-image > img {
|
||||||
|
background: url('/rsrc/image/checker_light.png');
|
||||||
|
}
|
||||||
|
|
||||||
|
.device-desktop .phabricator-remarkup-embed-image > img:hover {
|
||||||
|
background: url('/rsrc/image/checker_dark.png');
|
||||||
|
}
|
||||||
|
|
||||||
.phabricator-remarkup-embed-image-full,
|
.phabricator-remarkup-embed-image-full,
|
||||||
.phabricator-remarkup-embed-image-wide {
|
.phabricator-remarkup-embed-image-wide {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
@ -203,16 +203,13 @@ div.phui-property-list-stacked .phui-property-list-properties
|
||||||
border-bottom: 1px solid {$blueborder};
|
border-bottom: 1px solid {$blueborder};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.document-engine-image img {
|
||||||
.document-engine-image img,
|
|
||||||
.phabricator-remarkup-embed-image img {
|
|
||||||
margin: 20px auto;
|
margin: 20px auto;
|
||||||
background: url('/rsrc/image/checker_light.png');
|
background: url('/rsrc/image/checker_light.png');
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.device-desktop .document-engine-image img:hover,
|
.device-desktop .document-engine-image img:hover {
|
||||||
.device-desktop .phabricator-remarkup-embed-image img:hover {
|
|
||||||
background: url('/rsrc/image/checker_dark.png');
|
background: url('/rsrc/image/checker_dark.png');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue