File tree Expand file tree Collapse file tree 4 files changed +30
-22
lines changed Expand file tree Collapse file tree 4 files changed +30
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8585
8686@import "./helpers.css" ;
8787
88- @import "./file-view.css" ;
89-
9088@tailwind utilities;
Original file line number Diff line number Diff line change @@ -183,23 +183,6 @@ td .commit-summary {
183183 cursor : default;
184184}
185185
186- .view-raw > * {
187- max-width : 100% ;
188- }
189-
190- .view-raw audio ,
191- .view-raw video ,
192- .view-raw img {
193- margin : 1rem 0 ;
194- border-radius : 0 ;
195- object-fit : contain;
196- }
197-
198- .view-raw img [src $= ".svg" i] {
199- max-height : 600px !important ;
200- max-width : 600px !important ;
201- }
202-
203186.repository .file .list .non-diff-file-content .plain-text {
204187 padding : 1em 2em ;
205188}
Original file line number Diff line number Diff line change 6060.file-view .code-view .ui .button .code-line-button : hover {
6161 background : var (--color-secondary );
6262}
63+
64+ .view-raw {
65+ display : flex;
66+ justify-content : center;
67+ }
68+
69+ .view-raw > * {
70+ max-width : 100% ;
71+ }
72+
73+ .view-raw audio ,
74+ .view-raw video ,
75+ .view-raw img {
76+ margin : 1rem ;
77+ border-radius : 0 ;
78+ object-fit : contain;
79+ }
80+
81+ .view-raw img [src $= ".svg" i] {
82+ max-height : 600px !important ;
83+ max-width : 600px !important ;
84+ }
85+
86+ .file-view-render-container {
87+ width : 100% ;
88+ }
89+
90+ .file-view-render-container : last-child {
91+ border-radius : 0 0 var (--border-radius ) var (--border-radius ); /* to match the "ui segment" bottom radius */
92+ }
You can’t perform that action at this time.
0 commit comments