I have created a new project using the default MasterDetail template in Visual Studio. When I select an item from the Master Detail XF is adding a full width separator above the item. I have attached a screenshot of what is happening. I don't want any styling changes when a master detail item is selected.
In the screenshot below I have clicked on the "Browse1" option and you can see XF has added a full width separator above it.