topic_common_head

NAML documentation   Watch a video
   Usages of this macro
... in html5.naml
215
216
217
218
219
220
221
222
223
<override_macro name="topic_common_head">
    <n.search_highlight_js
Macro
/>
    <n.message_width_js
Macro
/>
    <style>
@media (max-width: 600px) {
        div.topics-controls-wrapper{margin:1.2em 0 7em !important}  
}        
    </style>
</override_macro>
Overrides default macro
... in responsive.naml
159
160
161
162
163
164
165
166
167
168
<override_macro name="topic_common_head">
    <n.search_highlight_js/>
    <n.message_width_js/>
    <style>
        @media (max-width: 600px) {
            div.topics-controls-wrapper{margin:1.2em 0 7em !important}
            div.root-text img,div.message-text img{max-width:100%}
        }
    </style>
</override_macro>
Overrides default macro
... in topic.naml
217
218
219
220
<macro name="topic_common_head">
    <n.search_highlight_js/>
    <n.message_width_js/>
</macro>