Skip to content

Commit

Permalink
Merge pull request #4985 from neos/bugfix/remove-rawcontentmode-css-r…
Browse files Browse the repository at this point in the history
…eset

BUGFIX: Make text formatting visible in raw content mode
  • Loading branch information
kitsunet authored Apr 11, 2024
2 parents b641b12 + ac0cc34 commit eda5b8d
Show file tree
Hide file tree
Showing 5 changed files with 6,636 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ prototype(Neos.Neos:RawContent.Document) < prototype(Neos.Fusion:Component) {
renderer = Neos.Neos:Page {
head {
stylesheets = afx`
<link rel="stylesheet" type="text/css" href={StaticResource.uri('Neos.Neos', 'Public/Styles/Minimal.css')}/>
<link rel="stylesheet" type="text/css" href={StaticResource.uri('Neos.Neos', 'Public/Styles/RawContentMode.css')}/>
`
}
Expand Down
16 changes: 15 additions & 1 deletion Neos.Neos/Resources/Private/Styles/RawContentMode.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
// Core variables and mixins
@import "Foundation/variables";
@import "Foundation/mixins";
@import "Constants";
@import "Mixins";
@import "Fonts";
@import "FontAwesome/fontawesome.scss";
@import "FontAwesome/brands.scss";
@import "FontAwesome/regular.scss";
@import "FontAwesome/solid.scss";
@import "Icons";
@import "Global";

// Typeplate
@import "Typeplate/VarsTypeplate";
Expand All @@ -12,6 +23,9 @@ body {
background-color: #f5f5f5;
font-size: 14px;
padding: 16px;

// Neos font definition
@include font;
}

#neos-raw-content-container {
Expand Down Expand Up @@ -83,7 +97,7 @@ body {
background-color: #f8f8f8;
border-left: 5px solid #cdcdcd;
padding: 16px;
margin-bottom: 16px;
margin: 0 0 16px;
}

.neos-raw-content-properties > dd:last-child {
Expand Down
Loading

0 comments on commit eda5b8d

Please sign in to comment.