Skip to content

Commit

Permalink
fix(react-ui): tableau qui ne s'overflow pas (#5830)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgfr committed May 2, 2024
1 parent 27962be commit 7e196db
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ exports[`<FicheServicePublic /> should render 1`] = `
data-rttabs="true"
>
<div
class="sc-iMWBiJ iZEClt"
class="sc-iMWBiJ kmA-Drm"
>
<ul
class="sc-fvtFIe cHMgmW"
Expand Down Expand Up @@ -568,7 +568,7 @@ exports[`<FicheServicePublic /> should render 1`] = `
data-rttabs="true"
>
<div
class="sc-iMWBiJ iZEClt"
class="sc-iMWBiJ kmA-Drm"
>
<ul
class="sc-fvtFIe cHMgmW"
Expand Down Expand Up @@ -731,7 +731,7 @@ exports[`<FicheServicePublic /> should render 1`] = `
data-rttabs="true"
>
<div
class="sc-iMWBiJ iZEClt"
class="sc-iMWBiJ kmA-Drm"
>
<ul
class="sc-fvtFIe cHMgmW"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exports[`FragmentConditionne Should display element within 1`] = `
data-rttabs="true"
>
<div
class="sc-iMWBiJ iZEClt"
class="sc-iMWBiJ kmA-Drm"
>
<ul
class="sc-fvtFIe cHMgmW"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`<Tabulator /> should have two different levels of headings 1`] = `
data-rttabs="true"
>
<div
class="sc-iMWBiJ iZEClt"
class="sc-iMWBiJ kmA-Drm"
>
<ul
class="sc-fvtFIe cHMgmW"
Expand Down Expand Up @@ -83,7 +83,7 @@ exports[`<Tabulator /> should incease heading levels if not 0 1`] = `
data-rttabs="true"
>
<div
class="sc-iMWBiJ iZEClt"
class="sc-iMWBiJ kmA-Drm"
>
<ul
class="sc-fvtFIe cHMgmW"
Expand Down Expand Up @@ -159,7 +159,7 @@ exports[`<Tabulator /> should render 1`] = `
data-rttabs="true"
>
<div
class="sc-iMWBiJ iZEClt"
class="sc-iMWBiJ kmA-Drm"
>
<ul
class="sc-fvtFIe cHMgmW"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-ui/src/Tabs/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`<Tabs /> renders 1`] = `
data-rttabs="true"
>
<div
class="sc-eqUAAy jKNqXX"
class="sc-eqUAAy iyzsrM"
>
<ul
class="sc-fqkvVR cGoVTS"
Expand Down
4 changes: 1 addition & 3 deletions packages/react-ui/src/Tabs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ const StyledTabs = styled(RootTabs)`
`;

const StyledOverflowWrapper = styled.div`
@media (max-width: ${breakpoints.mobile}) {
overflow-x: auto;
}
overflow-x: auto;
margin-right: ${spacings.tiny};
`;

Expand Down

0 comments on commit 7e196db

Please sign in to comment.